pub enum MarkerMismatchBody {
BelowCursor {
current_cursor: DeliverySeq,
},
NoMarkerExpected,
ExpectedDifferentMarker {
expected_marker_delivery_seq: DeliverySeq,
},
}Expand description
Exact marker-mismatch reason body; no optional field bag exists.
Variants§
BelowCursor
Requested marker is below current cursor.
Fields
§
current_cursor: DeliverySeqCurrent participant cursor.
NoMarkerExpected
No marker is expected by current state.
ExpectedDifferentMarker
A different marker is expected.
Fields
§
expected_marker_delivery_seq: DeliverySeqExpected marker sequence.
Implementations§
Source§impl MarkerMismatchBody
impl MarkerMismatchBody
Sourcepub const fn reason(self) -> MarkerMismatchReason
pub const fn reason(self) -> MarkerMismatchReason
Returns the stable reason selector.
Trait Implementations§
Source§impl Clone for MarkerMismatchBody
impl Clone for MarkerMismatchBody
Source§fn clone(&self) -> MarkerMismatchBody
fn clone(&self) -> MarkerMismatchBody
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 moreimpl Copy for MarkerMismatchBody
Source§impl Debug for MarkerMismatchBody
impl Debug for MarkerMismatchBody
impl Eq for MarkerMismatchBody
Source§impl PartialEq for MarkerMismatchBody
impl PartialEq for MarkerMismatchBody
impl StructuralPartialEq for MarkerMismatchBody
Auto Trait Implementations§
impl Freeze for MarkerMismatchBody
impl RefUnwindSafe for MarkerMismatchBody
impl Send for MarkerMismatchBody
impl Sync for MarkerMismatchBody
impl Unpin for MarkerMismatchBody
impl UnsafeUnpin for MarkerMismatchBody
impl UnwindSafe for MarkerMismatchBody
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