[][src]Enum reool::PingState

pub enum PingState {
    Ok,
    Failed(Box<dyn Error + Send>),
}

Indicates whether a ping was a success or a failure

Variants

Ok
Failed(Box<dyn Error + Send>)

Methods

impl PingState[src]

pub fn failed<E: Error + Send + 'static>(err: E) -> Self[src]

pub fn failed_msg<T: Into<String>>(msg: T) -> Self[src]

Trait Implementations

impl Debug for PingState[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

type Error = !

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.

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

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

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,