pub enum EntryError {
NoSuchEntry,
EntryExists(u8),
InvalidSuccessor(u8),
}Expand description
Entry error for Error::InvalidEntryActions.
Variants§
NoSuchEntry
Entry does not exists.
EntryExists(u8)
Entry already exists. Contains the current entry Key.
InvalidSuccessor(u8)
Invalid version when updating an entry. Contains the current entry Key.
Trait Implementations§
Source§impl Clone for EntryError
impl Clone for EntryError
Source§fn clone(&self) -> EntryError
fn clone(&self) -> EntryError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EntryError
impl Debug for EntryError
Source§impl<'de> Deserialize<'de> for EntryError
impl<'de> Deserialize<'de> for EntryError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EntryError
Source§impl Hash for EntryError
impl Hash for EntryError
Source§impl Ord for EntryError
impl Ord for EntryError
Source§fn cmp(&self, other: &EntryError) -> Ordering
fn cmp(&self, other: &EntryError) -> Ordering
1.21.0 (const: unstable) · 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 EntryError
impl PartialEq for EntryError
Source§fn eq(&self, other: &EntryError) -> bool
fn eq(&self, other: &EntryError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EntryError
impl PartialOrd for EntryError
Source§impl Serialize for EntryError
impl Serialize for EntryError
impl StructuralPartialEq for EntryError
Auto Trait Implementations§
impl Freeze for EntryError
impl RefUnwindSafe for EntryError
impl Send for EntryError
impl Sync for EntryError
impl Unpin for EntryError
impl UnsafeUnpin for EntryError
impl UnwindSafe for EntryError
Blanket Implementations§
impl<A> Actor for 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 more