pub struct AppendOutcome { /* private fields */ }Expand description
Successful append details and rebuilt current projection.
Implementations§
Source§impl AppendOutcome
impl AppendOutcome
Sourcepub const fn previous_sequence(&self) -> Option<SessionSequence>
pub const fn previous_sequence(&self) -> Option<SessionSequence>
Returns the durable tail before this append, or None on creation.
Sourcepub const fn current_sequence(&self) -> SessionSequence
pub const fn current_sequence(&self) -> SessionSequence
Returns the durable tail after this append.
Sourcepub const fn journal_revision(&self) -> u64
pub const fn journal_revision(&self) -> u64
Returns policy side-journal revision after this transaction.
Sourcepub const fn state(&self) -> &MaterializedSessionState
pub const fn state(&self) -> &MaterializedSessionState
Returns the materialized state committed with this append.
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
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