Struct bonsaidb::core::key::CompositeKeyError
pub struct CompositeKeyError(_);
Expand description
An error occurred inside of one of the composite key fields.
Implementations§
§impl CompositeKeyError
impl CompositeKeyError
pub 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§
§impl Debug for CompositeKeyError
impl Debug for CompositeKeyError
§impl Display for CompositeKeyError
impl Display for CompositeKeyError
§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()
§impl From<Error> for CompositeKeyError
impl From<Error> for CompositeKeyError
§fn from(err: Error) -> CompositeKeyError
fn from(err: Error) -> CompositeKeyError
Converts to this type from the input type.
§impl From<TryFromIntError> for CompositeKeyError
impl From<TryFromIntError> for CompositeKeyError
§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