pub struct Ck3Error(_);
Expand description
A Ck3 Error
Implementations
sourceimpl Ck3Error
impl Ck3Error
sourcepub fn kind(&self) -> &Ck3ErrorKind
pub fn kind(&self) -> &Ck3ErrorKind
Return the specific type of error
Trait Implementations
sourceimpl Error for Ck3Error
impl Error for Ck3Error
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Box<Ck3ErrorKind, Global>> for Ck3Error
impl From<Box<Ck3ErrorKind, Global>> for Ck3Error
sourcefn from(source: Box<Ck3ErrorKind>) -> Self
fn from(source: Box<Ck3ErrorKind>) -> Self
Converts to this type from the input type.
sourceimpl From<Ck3ErrorKind> for Ck3Error
impl From<Ck3ErrorKind> for Ck3Error
sourcefn from(err: Ck3ErrorKind) -> Self
fn from(err: Ck3ErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Ck3Error
impl Send for Ck3Error
impl Sync for Ck3Error
impl Unpin for Ck3Error
impl !UnwindSafe for Ck3Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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