#[non_exhaustive]pub enum CapsuleCaptureError {
ForeignConversation,
ParticipantOutOfOrder {
participant_id: ParticipantId,
},
Describe(ConversationDescribeError),
LengthOverflow,
SealedBesideLifecycle,
LiveParticipantSealed {
participant_id: ParticipantId,
},
}Expand description
Live values that cannot be captured into a capsule.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ForeignConversation
The lent frontiers belong to another conversation than the shell.
ParticipantOutOfOrder
The lent participants are not strictly ascending by participant id.
Fields
§
participant_id: ParticipantIdThe first participant id not above its predecessor.
Describe(ConversationDescribeError)
The live conversation cannot be described back into restore input.
LengthOverflow
A count or length does not fit its u32 field.
SealedBesideLifecycle
A view lent a lifecycle and a seal together; a sealed conversation has retired its frontier owner, so it has no lifecycle to lend.
LiveParticipantSealed
A sealed conversation lent a live participant.
Fields
§
participant_id: ParticipantIdThe participant that is not retired.
Trait Implementations§
Source§impl Clone for CapsuleCaptureError
impl Clone for CapsuleCaptureError
impl Copy for CapsuleCaptureError
Source§impl Debug for CapsuleCaptureError
impl Debug for CapsuleCaptureError
impl Eq for CapsuleCaptureError
Source§impl PartialEq for CapsuleCaptureError
impl PartialEq for CapsuleCaptureError
impl StructuralPartialEq for CapsuleCaptureError
Auto Trait Implementations§
impl Freeze for CapsuleCaptureError
impl RefUnwindSafe for CapsuleCaptureError
impl Send for CapsuleCaptureError
impl Sync for CapsuleCaptureError
impl Unpin for CapsuleCaptureError
impl UnsafeUnpin for CapsuleCaptureError
impl UnwindSafe for CapsuleCaptureError
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