Enum radius::core::code::Code [−][src]
#[repr(u8)] pub enum Code {}Show variants
AccessRequest, AccessAccept, AccessReject, AccountingRequest, AccountingResponse, AccessChallenge, StatusServer, StatusClient, DisconnectRequest, DisconnectACK, DisconnectNAK, CoARequest, CoAACK, CoANAK, Reserved, Invalid,
Variants
Implementations
Trait Implementations
impl TryFrom<u8> for Code
[src]
impl TryFrom<u8> for Code
[src]type Error = TryFromPrimitiveError<Self>
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
[src]
fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
[src]Performs the conversion.
impl TryFromPrimitive for Code
[src]
impl TryFromPrimitive for Code
[src]type Primitive = u8
const NAME: &'static str
[src]
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
[src]
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for Code
[src]
impl StructuralPartialEq for Code
[src]
Auto Trait Implementations
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,