Enum netstat::Error[][src]

pub enum Error {
    InternalError(&'static str),
    ForeignError {
        api_name: &'static str,
        err_code: i32,
    },
}

General error type.

Variants

Error originating from Rust code.

Error originating from FFI calls.

Fields of ForeignError

Trait Implementations

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error