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
pub fn system_has_dns(&self) -> bool
pub fn system_has_http(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StateInfo
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> 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)