pub enum RemoveStrictError {
Missing,
ValueMismatch,
}Expand description
Error returned by NeoMap::remove_strict.
Variants§
Missing
The key was not present in the map.
ValueMismatch
The key was present but the value did not match expected_value.
Trait Implementations§
Source§impl Clone for RemoveStrictError
impl Clone for RemoveStrictError
Source§fn clone(&self) -> RemoveStrictError
fn clone(&self) -> RemoveStrictError
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 moreimpl Copy for RemoveStrictError
Source§impl Debug for RemoveStrictError
impl Debug for RemoveStrictError
Source§impl Display for RemoveStrictError
impl Display for RemoveStrictError
impl Eq for RemoveStrictError
Source§impl Error for RemoveStrictError
impl Error for RemoveStrictError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for RemoveStrictError
impl PartialEq for RemoveStrictError
Source§fn eq(&self, other: &RemoveStrictError) -> bool
fn eq(&self, other: &RemoveStrictError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RemoveStrictError
Auto Trait Implementations§
impl Freeze for RemoveStrictError
impl RefUnwindSafe for RemoveStrictError
impl Send for RemoveStrictError
impl Sync for RemoveStrictError
impl Unpin for RemoveStrictError
impl UnsafeUnpin for RemoveStrictError
impl UnwindSafe for RemoveStrictError
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