#[repr(u32)]pub enum ErrorScope {
Connection = 0,
Session = 1,
Frame = 2,
}Variants§
Implementations§
Source§impl ErrorScope
impl ErrorScope
pub fn try_from_u32(value: u32) -> Result<Self, NnrpError>
Trait Implementations§
Source§impl Clone for ErrorScope
impl Clone for ErrorScope
Source§fn clone(&self) -> ErrorScope
fn clone(&self) -> ErrorScope
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 ErrorScope
impl Debug for ErrorScope
Source§impl PartialEq for ErrorScope
impl PartialEq for ErrorScope
Source§fn eq(&self, other: &ErrorScope) -> bool
fn eq(&self, other: &ErrorScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ErrorScope
impl Eq for ErrorScope
impl StructuralPartialEq for ErrorScope
Auto Trait Implementations§
impl Freeze for ErrorScope
impl RefUnwindSafe for ErrorScope
impl Send for ErrorScope
impl Sync for ErrorScope
impl Unpin for ErrorScope
impl UnsafeUnpin for ErrorScope
impl UnwindSafe for ErrorScope
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