pub enum AppendOutcome {
Inserted,
Duplicate,
}Expand description
Result of an EventLog::append call.
Variants§
Inserted
Row was inserted.
Duplicate
A row with the same (session_id, id) already existed; the insert
was a no-op (transport idempotency, RFC §6.4).
Trait Implementations§
Source§impl Clone for AppendOutcome
impl Clone for AppendOutcome
Source§fn clone(&self) -> AppendOutcome
fn clone(&self) -> AppendOutcome
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 AppendOutcome
impl Debug for AppendOutcome
Source§impl PartialEq for AppendOutcome
impl PartialEq for AppendOutcome
Source§fn eq(&self, other: &AppendOutcome) -> bool
fn eq(&self, other: &AppendOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AppendOutcome
impl Eq for AppendOutcome
impl StructuralPartialEq for AppendOutcome
Auto Trait Implementations§
impl Freeze for AppendOutcome
impl RefUnwindSafe for AppendOutcome
impl Send for AppendOutcome
impl Sync for AppendOutcome
impl Unpin for AppendOutcome
impl UnsafeUnpin for AppendOutcome
impl UnwindSafe for AppendOutcome
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