pub enum StoreResult {
Appended,
AlreadyExists,
}Expand description
Result of a store operation (for idempotency).
Same UsageEventId repeated append should return AlreadyExists
(side effects happen only once).
Variants§
Trait Implementations§
Source§impl Clone for StoreResult
impl Clone for StoreResult
Source§fn clone(&self) -> StoreResult
fn clone(&self) -> StoreResult
Returns a duplicate of the value. Read more
1.0.0 · 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 StoreResult
impl Debug for StoreResult
Source§impl PartialEq for StoreResult
impl PartialEq for StoreResult
impl StructuralPartialEq for StoreResult
Auto Trait Implementations§
impl Freeze for StoreResult
impl RefUnwindSafe for StoreResult
impl Send for StoreResult
impl Sync for StoreResult
impl Unpin for StoreResult
impl UnsafeUnpin for StoreResult
impl UnwindSafe for StoreResult
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