pub enum TranscriptAppend {
Committed {
session: String,
cursor: u64,
replayed: bool,
receipt: Value,
},
Conflict(TranscriptConflict),
}Expand description
Result of membrane transcript append.
Variants§
Committed
Exit 0. replayed is true when the batch was an exact replay of committed rows.
Fields
Conflict(TranscriptConflict)
Exit 2 with conflict: true; nothing was written.
Trait Implementations§
Source§impl Clone for TranscriptAppend
impl Clone for TranscriptAppend
Source§impl Debug for TranscriptAppend
impl Debug for TranscriptAppend
Source§impl PartialEq for TranscriptAppend
impl PartialEq for TranscriptAppend
impl StructuralPartialEq for TranscriptAppend
Auto Trait Implementations§
impl Forget for TranscriptAppend
impl Freeze for TranscriptAppend
impl Move for TranscriptAppend
impl RefUnwindSafe for TranscriptAppend
impl Send for TranscriptAppend
impl Sync for TranscriptAppend
impl Unpin for TranscriptAppend
impl UnsafeUnpin for TranscriptAppend
impl UnwindSafe for TranscriptAppend
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more