pub trait LastError {
    type Output;

    fn last_error(self) -> IoResult<Self::Output>;
}
Expand description

Trait to convert a failed value to Result with last os error

Required Associated Types

Required Methods

Implementations on Foreign Types

implements LastError for Option

implements LastError for bool

implements LastError for null-pointer

implements LastError for null-pointer

Implementors