#[repr(u16)]pub enum SessionPatchRejectReason {
None = 0,
UnsupportedField = 1,
InvalidRange = 2,
UnsupportedStrategy = 3,
InvalidLaneMask = 4,
RateLimited = 5,
}Variants§
None = 0
UnsupportedField = 1
InvalidRange = 2
UnsupportedStrategy = 3
InvalidLaneMask = 4
RateLimited = 5
Implementations§
Source§impl SessionPatchRejectReason
impl SessionPatchRejectReason
pub fn try_from_u16(value: u16) -> Result<Self, NnrpError>
Trait Implementations§
Source§impl Clone for SessionPatchRejectReason
impl Clone for SessionPatchRejectReason
Source§fn clone(&self) -> SessionPatchRejectReason
fn clone(&self) -> SessionPatchRejectReason
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 moreSource§impl Debug for SessionPatchRejectReason
impl Debug for SessionPatchRejectReason
Source§impl PartialEq for SessionPatchRejectReason
impl PartialEq for SessionPatchRejectReason
Source§fn eq(&self, other: &SessionPatchRejectReason) -> bool
fn eq(&self, other: &SessionPatchRejectReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SessionPatchRejectReason
impl Eq for SessionPatchRejectReason
impl StructuralPartialEq for SessionPatchRejectReason
Auto Trait Implementations§
impl Freeze for SessionPatchRejectReason
impl RefUnwindSafe for SessionPatchRejectReason
impl Send for SessionPatchRejectReason
impl Sync for SessionPatchRejectReason
impl Unpin for SessionPatchRejectReason
impl UnsafeUnpin for SessionPatchRejectReason
impl UnwindSafe for SessionPatchRejectReason
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