pub enum PrepareResult {
AlreadyExists,
UnableToCreate,
Created,
}
Expand description
Result of preparing a particular key.
Variants§
AlreadyExists
Nothing is created, the key/value pair is already there.
UnableToCreate
Key was not found, but value creation failed.
Created
Key was not found, but now the value has been created and inserted.
Auto Trait Implementations§
impl Freeze for PrepareResult
impl RefUnwindSafe for PrepareResult
impl Send for PrepareResult
impl Sync for PrepareResult
impl Unpin for PrepareResult
impl UnwindSafe for PrepareResult
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