pub struct IOStatsError {
pub code: i32,
pub msg: String,
}
Fields§
§code: i32
§msg: String
Trait Implementations§
Source§impl Debug for IOStatsError
impl Debug for IOStatsError
Source§impl Display for IOStatsError
impl Display for IOStatsError
Source§impl Error for IOStatsError
impl Error for IOStatsError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for IOStatsError
impl From<Error> for IOStatsError
Source§impl From<ParseIntError> for IOStatsError
impl From<ParseIntError> for IOStatsError
Source§fn from(e: ParseIntError) -> Self
fn from(e: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IOStatsError
impl RefUnwindSafe for IOStatsError
impl Send for IOStatsError
impl Sync for IOStatsError
impl Unpin for IOStatsError
impl UnwindSafe for IOStatsError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more