FromRadiusAttribute

Trait FromRadiusAttribute 

Source
pub trait FromRadiusAttribute: Sized {
    // Required method
    fn from_bytes(bytes: &[u8]) -> Option<Self>;
}

Required Methods§

Source

fn from_bytes(bytes: &[u8]) -> Option<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FromRadiusAttribute for u16

Source§

fn from_bytes(bytes: &[u8]) -> Option<Self>

Source§

impl FromRadiusAttribute for u32

Source§

fn from_bytes(bytes: &[u8]) -> Option<Self>

Source§

impl FromRadiusAttribute for u64

Source§

fn from_bytes(bytes: &[u8]) -> Option<Self>

Source§

impl FromRadiusAttribute for String

Source§

fn from_bytes(bytes: &[u8]) -> Option<Self>

Source§

impl FromRadiusAttribute for Vec<u8>

Source§

fn from_bytes(bytes: &[u8]) -> Option<Self>

Source§

impl FromRadiusAttribute for Ipv4Addr

Source§

fn from_bytes(bytes: &[u8]) -> Option<Self>

Source§

impl FromRadiusAttribute for Ipv6Addr

Source§

fn from_bytes(bytes: &[u8]) -> Option<Self>

Source§

impl FromRadiusAttribute for SystemTime

Source§

fn from_bytes(bytes: &[u8]) -> Option<Self>

Implementors§