Struct syscall::error::Error
[−]
[src]
pub struct Error { pub errno: i32, }
Fields
errno: i32
Methods
impl Error
[src]
pub fn new(errno: i32) -> Error
[src]
pub fn mux(result: Result<usize>) -> usize
[src]
pub fn demux(value: usize) -> Result<usize>
[src]
pub fn text(&self) -> &str
[src]
Trait Implementations
impl Eq for Error
[src]
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
[src]
This method tests for !=
.
impl Debug for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more