pub struct UUsageError {
pub code: i32,
pub message: String,
}Expand description
Wrapper type around std::io::Error.
Fields§
§code: i32Exit code of the error.
message: StringError message.
Implementations§
Trait Implementations§
Source§impl Debug for UUsageError
impl Debug for UUsageError
Source§impl Display for UUsageError
impl Display for UUsageError
Source§impl Error for UUsageError
impl Error for UUsageError
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()
Auto Trait Implementations§
impl Freeze for UUsageError
impl RefUnwindSafe for UUsageError
impl Send for UUsageError
impl Sync for UUsageError
impl Unpin for UUsageError
impl UnwindSafe for UUsageError
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