pub enum Connectivity {
Unknown,
None,
Portal,
Limited,
Full,
}Expand description
How far the host reaches, from NetworkManager’s Connectivity.
Variants§
Unknown
Not known: NetworkManager isn’t running, its checks are off, or they haven’t run yet.
None
On no network at all.
Portal
Behind a captive portal, which wants a sign-in in a browser first.
Limited
On a network, but not reaching the internet.
Full
Reaching the internet.
Trait Implementations§
Source§impl Clone for Connectivity
impl Clone for Connectivity
impl Copy for Connectivity
Source§impl Debug for Connectivity
impl Debug for Connectivity
impl Eq for Connectivity
Source§impl PartialEq for Connectivity
impl PartialEq for Connectivity
impl StructuralPartialEq for Connectivity
Auto Trait Implementations§
impl Forget for Connectivity
impl Freeze for Connectivity
impl Move for Connectivity
impl RefUnwindSafe for Connectivity
impl Send for Connectivity
impl Sync for Connectivity
impl Unpin for Connectivity
impl UnsafeUnpin for Connectivity
impl UnwindSafe for Connectivity
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