pub struct KeyNotFoundError {
pub key: Box<ValueContainer>,
}Fields§
§key: Box<ValueContainer>Implementations§
Source§impl KeyNotFoundError
impl KeyNotFoundError
pub fn new(key: ValueContainer) -> Self
Trait Implementations§
Source§impl Clone for KeyNotFoundError
impl Clone for KeyNotFoundError
Source§impl Debug for KeyNotFoundError
impl Debug for KeyNotFoundError
Source§impl Display for KeyNotFoundError
impl Display for KeyNotFoundError
impl Eq for KeyNotFoundError
Source§impl From<KeyNotFoundError> for AccessError
impl From<KeyNotFoundError> for AccessError
Source§fn from(err: KeyNotFoundError) -> Self
fn from(err: KeyNotFoundError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for KeyNotFoundError
impl PartialEq for KeyNotFoundError
impl StructuralPartialEq for KeyNotFoundError
Auto Trait Implementations§
impl !RefUnwindSafe for KeyNotFoundError
impl !Send for KeyNotFoundError
impl !Sync for KeyNotFoundError
impl !UnwindSafe for KeyNotFoundError
impl Forget for KeyNotFoundError
impl Freeze for KeyNotFoundError
impl Move for KeyNotFoundError
impl Unpin for KeyNotFoundError
impl UnsafeUnpin for KeyNotFoundError
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> 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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, U> TypeSubset<U> for Twhere
U: TypeSuperset<T>,
impl<T, U> TypeSubset<U> for Twhere
U: TypeSuperset<T>,
Source§fn is_subset_of(&self, other: &U) -> bool
fn is_subset_of(&self, other: &U) -> bool
Returns whether self is a subset of type