[][src]Enum bollard_stubs::models::Reachability

#[repr(C)]pub enum Reachability {
    UNKNOWN,
    UNREACHABLE,
    REACHABLE,
}

Reachability represents the reachability of a node. Enumeration of values. Since this enum's variants do not hold data, we can easily define them them as #[repr(C)] which helps with FFI.

Variants

UNKNOWN
UNREACHABLE
REACHABLE

Trait Implementations

impl Clone for Reachability[src]

impl Copy for Reachability[src]

impl Debug for Reachability[src]

impl<'de> Deserialize<'de> for Reachability[src]

impl Display for Reachability[src]

impl Eq for Reachability[src]

impl FromStr for Reachability[src]

type Err = ()

The associated error which can be returned from parsing.

impl Ord for Reachability[src]

impl PartialEq<Reachability> for Reachability[src]

impl PartialOrd<Reachability> for Reachability[src]

impl Serialize for Reachability[src]

impl StructuralEq for Reachability[src]

impl StructuralPartialEq for Reachability[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.