Enum PutOutcome
pub enum PutOutcome {
Created,
AlreadyExists,
}Expand description
Per-key result of Tree::put_many_if_absent.
Variants§
Created
The key was absent and is now created.
AlreadyExists
A live record already existed; nothing was written.
Trait Implementations§
§impl Clone for PutOutcome
impl Clone for PutOutcome
§fn clone(&self) -> PutOutcome
fn clone(&self) -> PutOutcome
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 PutOutcome
§impl Debug for PutOutcome
impl Debug for PutOutcome
impl Eq for PutOutcome
§impl PartialEq for PutOutcome
impl PartialEq for PutOutcome
impl StructuralPartialEq for PutOutcome
Auto Trait Implementations§
impl Freeze for PutOutcome
impl RefUnwindSafe for PutOutcome
impl Send for PutOutcome
impl Sync for PutOutcome
impl Unpin for PutOutcome
impl UnsafeUnpin for PutOutcome
impl UnwindSafe for PutOutcome
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