Trait failed_result::LastError
source · pub trait LastError {
type Output;
// Required method
fn last_error(self) -> IoResult<Self::Output>;
}Expand description
Trait to convert a failed value to Result with last os error
pub trait LastError {
type Output;
// Required method
fn last_error(self) -> IoResult<Self::Output>;
}Trait to convert a failed value to Result with last os error