pub struct ReachabilityState {
pub internet_available: bool,
pub gateway_reachable: bool,
pub dns_active: bool,
pub http_active: bool,
}
Fields§
§internet_available: bool
§gateway_reachable: bool
§dns_active: bool
§http_active: bool
Trait Implementations§
Source§impl Clone for ReachabilityState
impl Clone for ReachabilityState
Source§fn clone(&self) -> ReachabilityState
fn clone(&self) -> ReachabilityState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ReachabilityState
impl Debug for ReachabilityState
Source§impl From<ReachabilityState> for Snapshot
impl From<ReachabilityState> for Snapshot
Source§fn from(state: ReachabilityState) -> Self
fn from(state: ReachabilityState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReachabilityState
impl PartialEq for ReachabilityState
impl StructuralPartialEq for ReachabilityState
Auto Trait Implementations§
impl Freeze for ReachabilityState
impl RefUnwindSafe for ReachabilityState
impl Send for ReachabilityState
impl Sync for ReachabilityState
impl Unpin for ReachabilityState
impl UnwindSafe for ReachabilityState
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
)