Struct bonsaidb::core::key::CompositeKeyError
source · pub struct CompositeKeyError(/* private fields */);
Expand description
An error occurred inside of one of the composite key fields.
Implementations§
source§impl CompositeKeyError
impl CompositeKeyError
sourcepub fn new<E>(error: E) -> CompositeKeyErrorwhere
E: AnyError,
pub fn new<E>(error: E) -> CompositeKeyErrorwhere
E: AnyError,
Returns a new instance wrapping error
.
Trait Implementations§
source§impl Debug for CompositeKeyError
impl Debug for CompositeKeyError
source§impl Display for CompositeKeyError
impl Display for CompositeKeyError
source§impl Error for CompositeKeyError
impl Error for CompositeKeyError
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for CompositeKeyError
impl From<Error> for CompositeKeyError
source§fn from(err: Error) -> CompositeKeyError
fn from(err: Error) -> CompositeKeyError
Converts to this type from the input type.
source§impl From<TryFromIntError> for CompositeKeyError
impl From<TryFromIntError> for CompositeKeyError
source§fn from(err: TryFromIntError) -> CompositeKeyError
fn from(err: TryFromIntError) -> CompositeKeyError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CompositeKeyError
impl Send for CompositeKeyError
impl Sync for CompositeKeyError
impl Unpin for CompositeKeyError
impl !UnwindSafe for CompositeKeyError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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