pub struct WindoWdg<'a> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl WatchDog for WindoWdg<'_>
impl WatchDog for WindoWdg<'_>
Source§fn setup(&self)
fn setup(&self)
This function must enable the watchdog timer and configure it to
trigger regulary. The period of the timer is left to the implementation
to decide. The implementation must ensure that it doesn’t trigger too
early (when we haven’t hung for example) or too late as to not catch
faults.
After calling this function the watchdog must be running.
Source§fn tickle(&self)
fn tickle(&self)
This function must tickle the watchdog to reset the timer.
If the watchdog was previously suspended then this should also
resume the timer.
Auto Trait Implementations§
impl<'a> !Freeze for WindoWdg<'a>
impl<'a> !RefUnwindSafe for WindoWdg<'a>
impl<'a> !Send for WindoWdg<'a>
impl<'a> !Sync for WindoWdg<'a>
impl<'a> Unpin for WindoWdg<'a>
impl<'a> !UnwindSafe for WindoWdg<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more