pub enum RecordOutcome {
Unchanged,
Recorded {
id: String,
},
}Expand description
The outcome of a record_state call.
Variants§
Unchanged
Content was byte-identical to HEAD’s snapshot; no new record was created.
Recorded
A new state was recorded; HEAD advanced to this record id.
Trait Implementations§
Source§impl Clone for RecordOutcome
impl Clone for RecordOutcome
Source§fn clone(&self) -> RecordOutcome
fn clone(&self) -> RecordOutcome
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 RecordOutcome
impl Debug for RecordOutcome
Source§impl PartialEq for RecordOutcome
impl PartialEq for RecordOutcome
Source§fn eq(&self, other: &RecordOutcome) -> bool
fn eq(&self, other: &RecordOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecordOutcome
Auto Trait Implementations§
impl Freeze for RecordOutcome
impl RefUnwindSafe for RecordOutcome
impl Send for RecordOutcome
impl Sync for RecordOutcome
impl Unpin for RecordOutcome
impl UnsafeUnpin for RecordOutcome
impl UnwindSafe for RecordOutcome
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