#[repr(u16)]pub enum AckRegressionReason {
BelowCursor = 1,
}Expand description
Singleton normal-ack regression reason.
Variants§
BelowCursor = 1
Requested boundary is below the current cursor.
Implementations§
Source§impl AckRegressionReason
impl AckRegressionReason
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 AckRegressionReason
impl Clone for AckRegressionReason
Source§fn clone(&self) -> AckRegressionReason
fn clone(&self) -> AckRegressionReason
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 AckRegressionReason
Source§impl Debug for AckRegressionReason
impl Debug for AckRegressionReason
impl Eq for AckRegressionReason
Source§impl From<AckRegressionReason> for u16
impl From<AckRegressionReason> for u16
Source§fn from(value: AckRegressionReason) -> Self
fn from(value: AckRegressionReason) -> Self
Converts to this type from the input type.
Source§impl Hash for AckRegressionReason
impl Hash for AckRegressionReason
Source§impl PartialEq for AckRegressionReason
impl PartialEq for AckRegressionReason
impl StructuralPartialEq for AckRegressionReason
Auto Trait Implementations§
impl Freeze for AckRegressionReason
impl RefUnwindSafe for AckRegressionReason
impl Send for AckRegressionReason
impl Sync for AckRegressionReason
impl Unpin for AckRegressionReason
impl UnsafeUnpin for AckRegressionReason
impl UnwindSafe for AckRegressionReason
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