pub struct MainError { /* private fields */ }
Expand description
This type wraps an arbitrary error, and is intended for use in the main()
method
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for MainError
impl Send for MainError
impl Sync for MainError
impl Unpin for MainError
impl !UnwindSafe for MainError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more