#[repr(u8)]pub enum ResponseOpcode {
Error = 0,
Ready = 2,
Authenticate = 3,
Supported = 6,
Result = 8,
Event = 12,
AuthChallenge = 14,
AuthSuccess = 16,
}
Variants§
Error = 0
Ready = 2
Authenticate = 3
Supported = 6
Result = 8
Event = 12
AuthChallenge = 14
AuthSuccess = 16
Trait Implementations§
Source§impl Clone for ResponseOpcode
impl Clone for ResponseOpcode
Source§fn clone(&self) -> ResponseOpcode
fn clone(&self) -> ResponseOpcode
Returns a copy of the value. Read more
1.0.0 · 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 ResponseOpcode
impl Debug for ResponseOpcode
Source§impl Ord for ResponseOpcode
impl Ord for ResponseOpcode
Source§fn cmp(&self, other: &ResponseOpcode) -> Ordering
fn cmp(&self, other: &ResponseOpcode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ResponseOpcode
impl PartialEq for ResponseOpcode
Source§impl PartialOrd for ResponseOpcode
impl PartialOrd for ResponseOpcode
Source§impl TryFrom<u8> for ResponseOpcode
impl TryFrom<u8> for ResponseOpcode
Source§type Error = TryFromPrimitiveError<ResponseOpcode>
type Error = TryFromPrimitiveError<ResponseOpcode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ResponseOpcode
impl TryFromPrimitive for ResponseOpcode
impl Copy for ResponseOpcode
impl Eq for ResponseOpcode
impl StructuralPartialEq for ResponseOpcode
Auto Trait Implementations§
impl Freeze for ResponseOpcode
impl RefUnwindSafe for ResponseOpcode
impl Send for ResponseOpcode
impl Sync for ResponseOpcode
impl Unpin for ResponseOpcode
impl UnwindSafe for ResponseOpcode
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