pub struct ScnrError {
pub source: Box<ScnrErrorKind>,
}Expand description
The error type for the scrn crate.
Fields§
§source: Box<ScnrErrorKind>The source of the error.
Implementations§
Trait Implementations§
Source§impl Error for ScnrError
impl Error for ScnrError
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 !RefUnwindSafe for ScnrError
impl !UnwindSafe for ScnrError
impl Freeze for ScnrError
impl Send for ScnrError
impl Sync for ScnrError
impl Unpin for ScnrError
impl UnsafeUnpin for ScnrError
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