Struct reachability_core::StateInfo
source · pub struct StateInfo { /* private fields */ }
Expand description
StateInfo
keeps the reachability state.
Implementations§
source§impl StateInfo
impl StateInfo
pub fn system_has_internet(&self) -> bool
pub fn system_has_gateway(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for StateInfo
impl Send for StateInfo
impl Sync for StateInfo
impl Unpin for StateInfo
impl UnwindSafe for StateInfo
Blanket Implementations§
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.