pub struct RadiusPacket<'a> { /* private fields */ }Implementations§
Source§impl<'a> RadiusPacket<'a>
impl<'a> RadiusPacket<'a>
pub fn new(buf: &'a [u8]) -> Option<Self>
pub fn code(&self) -> RadiusCode
pub fn identifier(&self) -> u8
pub fn length(&self) -> u16
pub fn authenticator(&self) -> &[u8; 16]
pub fn attributes(&self) -> RadiusAttributeIter<'a> ⓘ
Auto Trait Implementations§
impl<'a> Freeze for RadiusPacket<'a>
impl<'a> RefUnwindSafe for RadiusPacket<'a>
impl<'a> Send for RadiusPacket<'a>
impl<'a> Sync for RadiusPacket<'a>
impl<'a> Unpin for RadiusPacket<'a>
impl<'a> UnsafeUnpin for RadiusPacket<'a>
impl<'a> UnwindSafe for RadiusPacket<'a>
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