#[repr(u16)]pub enum AttemptConflict {
Generation = 1,
MarkerDeliverySequence = 2,
}Expand description
Ordered attempt-token conflict class.
Variants§
Generation = 1
Presented generation changed.
MarkerDeliverySequence = 2
Presented marker-delivery sequence changed.
Implementations§
Source§impl AttemptConflict
impl AttemptConflict
Sourcepub const fn wire_value(self) -> u16
pub const fn wire_value(self) -> u16
Returns the stable v1 wire value.
Trait Implementations§
Source§impl Clone for AttemptConflict
impl Clone for AttemptConflict
Source§fn clone(&self) -> AttemptConflict
fn clone(&self) -> AttemptConflict
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 AttemptConflict
Source§impl Debug for AttemptConflict
impl Debug for AttemptConflict
impl Eq for AttemptConflict
Source§impl From<AttemptConflict> for u16
impl From<AttemptConflict> for u16
Source§fn from(value: AttemptConflict) -> Self
fn from(value: AttemptConflict) -> Self
Converts to this type from the input type.
Source§impl Hash for AttemptConflict
impl Hash for AttemptConflict
Source§impl PartialEq for AttemptConflict
impl PartialEq for AttemptConflict
impl StructuralPartialEq for AttemptConflict
Auto Trait Implementations§
impl Freeze for AttemptConflict
impl RefUnwindSafe for AttemptConflict
impl Send for AttemptConflict
impl Sync for AttemptConflict
impl Unpin for AttemptConflict
impl UnsafeUnpin for AttemptConflict
impl UnwindSafe for AttemptConflict
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