#[repr(u16)]pub enum MarkerMismatchReason {
BelowCursor = 1,
NoMarkerExpected = 2,
ExpectedDifferentMarker = 3,
}Expand description
Marker mismatch reason registry.
Variants§
BelowCursor = 1
Requested marker is below the current cursor.
NoMarkerExpected = 2
No marker is expected by this edge.
ExpectedDifferentMarker = 3
A different marker is expected.
Implementations§
Source§impl MarkerMismatchReason
impl MarkerMismatchReason
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 MarkerMismatchReason
impl Clone for MarkerMismatchReason
Source§fn clone(&self) -> MarkerMismatchReason
fn clone(&self) -> MarkerMismatchReason
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 MarkerMismatchReason
Source§impl Debug for MarkerMismatchReason
impl Debug for MarkerMismatchReason
impl Eq for MarkerMismatchReason
Source§impl From<MarkerMismatchReason> for u16
impl From<MarkerMismatchReason> for u16
Source§fn from(value: MarkerMismatchReason) -> Self
fn from(value: MarkerMismatchReason) -> Self
Converts to this type from the input type.
Source§impl Hash for MarkerMismatchReason
impl Hash for MarkerMismatchReason
Source§impl PartialEq for MarkerMismatchReason
impl PartialEq for MarkerMismatchReason
impl StructuralPartialEq for MarkerMismatchReason
Auto Trait Implementations§
impl Freeze for MarkerMismatchReason
impl RefUnwindSafe for MarkerMismatchReason
impl Send for MarkerMismatchReason
impl Sync for MarkerMismatchReason
impl Unpin for MarkerMismatchReason
impl UnsafeUnpin for MarkerMismatchReason
impl UnwindSafe for MarkerMismatchReason
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