pub struct SimpleWatchdogPlatform { /* private fields */ }
Expand description
A simple implementation of WatchdogPlatform
, suitable for ephemeral VMs.
Implementations§
Trait Implementations§
Source§impl WatchdogPlatform for SimpleWatchdogPlatform
impl WatchdogPlatform for SimpleWatchdogPlatform
Source§fn on_timeout<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn on_timeout<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Callback fired when the timer expires.
fn read_and_clear_boot_status<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for SimpleWatchdogPlatform
impl !RefUnwindSafe for SimpleWatchdogPlatform
impl Send for SimpleWatchdogPlatform
impl Sync for SimpleWatchdogPlatform
impl Unpin for SimpleWatchdogPlatform
impl !UnwindSafe for SimpleWatchdogPlatform
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