pub struct LifecycleView<'a> {
pub conversation: &'a ParticipantConversation,
pub lifecycle: Option<ConversationLifecycleView<'a>>,
pub covered_log_sequence: u64,
}Expand description
What a storage binding lends to LifecycleCapsule::capture: references
to the protocol values it holds, and the log position they cover.
Fields§
§conversation: &'a ParticipantConversationThe conversation’s event-sourced shell.
lifecycle: Option<ConversationLifecycleView<'a>>The participants, frontiers and closure, once the conversation has
any; None before its first enrollment.
covered_log_sequence: u64The last log sequence whose effects these values include.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for LifecycleView<'a>
impl<'a> RefUnwindSafe for LifecycleView<'a>
impl<'a> Send for LifecycleView<'a>
impl<'a> Sync for LifecycleView<'a>
impl<'a> Unpin for LifecycleView<'a>
impl<'a> UnsafeUnpin for LifecycleView<'a>
impl<'a> UnwindSafe for LifecycleView<'a>
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