Struct reachability_core::watchdog::Watchdog
source · pub struct Watchdog<S: SystemDispatcher> { /* private fields */ }
Implementations§
source§impl<S> Watchdog<S>where
S: SystemDispatcher,
impl<S> Watchdog<S>where S: SystemDispatcher,
pub fn new() -> Self
pub async fn check_interface_state( &mut self, now: Time, sys: &S, view: InterfaceView<'_> )
pub fn handle_interface_removed(&mut self, interface: u64)
Auto Trait Implementations§
impl<S> RefUnwindSafe for Watchdog<S>where S: RefUnwindSafe, <S as SystemDispatcher>::DeviceDiagnostics: RefUnwindSafe,
impl<S> Send for Watchdog<S>where S: Send, <S as SystemDispatcher>::DeviceDiagnostics: Send,
impl<S> Sync for Watchdog<S>where S: Sync, <S as SystemDispatcher>::DeviceDiagnostics: Sync,
impl<S> Unpin for Watchdog<S>where S: Unpin, <S as SystemDispatcher>::DeviceDiagnostics: Unpin,
impl<S> UnwindSafe for Watchdog<S>where S: UnwindSafe, <S as SystemDispatcher>::DeviceDiagnostics: UnwindSafe,
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
§impl<T> Encode<Ambiguous1> for T
impl<T> Encode<Ambiguous1> for T
§impl<T> Encode<Ambiguous2> for T
impl<T> Encode<Ambiguous2> for T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.