Enum ashpd::desktop::network_monitor::Connectivity[][src]

#[repr(u32)]
pub enum Connectivity {
    Local,
    Limited,
    CaptivePortal,
    FullNetwork,
}
Expand description

Host’s network activity

Variants

Local

The host is not configured with a route to the internet.

Limited

The host is connected to a network, but can’t reach the full internet.

CaptivePortal

The host is behind a captive portal and cannot reach the full internet.

FullNetwork

The host connected to a network, and can reach the full internet.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Get the signature for the implementing type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.