#[non_exhaustive]pub struct RestoredLifecycleParts {
pub conversation: ParticipantConversation,
pub lifecycle: Option<ParticipantConversationState<[u8; 32], [u8; 32], [u8; 32], [u8; 32]>>,
}Expand description
The restored values, each for the binding to install where it keeps it.
It cannot be built outside the protocol: a binding receives one only from
RestoredLifecycle::into_parts.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.conversation: ParticipantConversationThe conversation’s event-sourced shell.
lifecycle: Option<ParticipantConversationState<[u8; 32], [u8; 32], [u8; 32], [u8; 32]>>Every participant, both frontiers and the closure, validated together,
with the fenced-marker issuance latch the capsule carried; None for a
conversation captured before its first enrollment.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RestoredLifecycleParts
impl RefUnwindSafe for RestoredLifecycleParts
impl Send for RestoredLifecycleParts
impl Sync for RestoredLifecycleParts
impl Unpin for RestoredLifecycleParts
impl UnsafeUnpin for RestoredLifecycleParts
impl UnwindSafe for RestoredLifecycleParts
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