Enum oping::PingError [] [src]

pub enum PingError {
    LibOpingError(String),
    NulByteError(NulError),
}

An error resulting from a ping option-setting or send/receive operation.

Variants

LibOpingError

A liboping internal error

NulByteError

A std::ffi::NulError that occurred while trying to convert a hostname string

Trait Implementations

impl Display for PingError

fn fmt(&self, f: &mut Formatter) -> Result

impl Error for PingError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

Derived Implementations

impl Debug for PingError

fn fmt(&self, __arg_0: &mut Formatter) -> Result