Enum proclist::Error [−][src]
pub enum Error { InternalError { description: String, cause: String, }, ForeignError { api_name: &'static str, errno: Errno, }, }
General error type.
Variants
InternalError
Error originating from Rust code.
Fields of InternalError
description: String | |
cause: String |
ForeignError
Error originating from FFI calls.
Fields of ForeignError
api_name: &'static str | |
errno: Errno |
Trait Implementations
impl Clone for Error
[src]
impl Clone for Error
fn clone(&self) -> Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error