Struct esp_idf_svc::hal::task::watchdog::TWDTDriver
source · pub struct TWDTDriver<'d> { /* private fields */ }
Implementations§
source§impl<'d> TWDTDriver<'d>
impl<'d> TWDTDriver<'d>
pub fn new( _twdt: impl Peripheral<P = TWDT> + 'd, config: &Config, ) -> Result<TWDTDriver<'d>, EspError>
pub fn watch_current_task( &mut self, ) -> Result<WatchdogSubscription<'_>, EspError>
Trait Implementations§
source§impl Clone for TWDTDriver<'_>
impl Clone for TWDTDriver<'_>
source§fn clone(&self) -> TWDTDriver<'_>
fn clone(&self) -> TWDTDriver<'_>
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Drop for TWDTDriver<'_>
impl Drop for TWDTDriver<'_>
impl Send for TWDTDriver<'_>
Auto Trait Implementations§
impl<'d> Freeze for TWDTDriver<'d>
impl<'d> RefUnwindSafe for TWDTDriver<'d>
impl<'d> Sync for TWDTDriver<'d>
impl<'d> Unpin for TWDTDriver<'d>
impl<'d> !UnwindSafe for TWDTDriver<'d>
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)