pub struct TbError(/* private fields */);
Expand description
Error type.
See the [kinds] module for error kind constants.
Implementations§
Trait Implementations§
Source§impl Error for TbError
impl Error for TbError
Source§type Category = TbErrorCategory
type Category = TbErrorCategory
The error category concrete type.
Source§type Kind = TbErrorKind
type Kind = TbErrorKind
The error kind concrete type.
Source§impl Error for TbError
impl Error for TbError
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<TbErrorKind> for TbError
impl From<TbErrorKind> for TbError
Source§fn from(kind: TbErrorKind) -> Self
fn from(kind: TbErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TbError
impl RefUnwindSafe for TbError
impl Send for TbError
impl Sync for TbError
impl Unpin for TbError
impl UnwindSafe for TbError
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