pub struct TbErrorCategory(/* private fields */);
Expand description
Error category type.
See the [categories] module for category constants.
Implementations§
Trait Implementations§
Source§impl Category for TbErrorCategory
impl Category for TbErrorCategory
Source§impl Clone for TbErrorCategory
impl Clone for TbErrorCategory
Source§fn clone(&self) -> TbErrorCategory
fn clone(&self) -> TbErrorCategory
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TbErrorCategory
impl Debug for TbErrorCategory
Source§impl Display for TbErrorCategory
impl Display for TbErrorCategory
Source§impl Hash for TbErrorCategory
impl Hash for TbErrorCategory
Source§impl Ord for TbErrorCategory
impl Ord for TbErrorCategory
Source§fn cmp(&self, other: &TbErrorCategory) -> Ordering
fn cmp(&self, other: &TbErrorCategory) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TbErrorCategory
impl PartialEq for TbErrorCategory
Source§impl PartialOrd for TbErrorCategory
impl PartialOrd for TbErrorCategory
impl Copy for TbErrorCategory
impl Eq for TbErrorCategory
impl StructuralPartialEq for TbErrorCategory
Auto Trait Implementations§
impl Freeze for TbErrorCategory
impl RefUnwindSafe for TbErrorCategory
impl Send for TbErrorCategory
impl Sync for TbErrorCategory
impl Unpin for TbErrorCategory
impl UnwindSafe for TbErrorCategory
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.