pub struct Tlv {
pub tlv_type: u8,
pub value: Vec<u8>,
}Expand description
Helper for Type-Length-Value (TLV) attributes
Fields§
§tlv_type: u8§value: Vec<u8>Trait Implementations§
Source§impl FromRadiusAttribute for Tlv
impl FromRadiusAttribute for Tlv
fn from_bytes(bytes: &[u8]) -> Option<Self>
Auto Trait Implementations§
impl Freeze for Tlv
impl RefUnwindSafe for Tlv
impl Send for Tlv
impl Sync for Tlv
impl Unpin for Tlv
impl UnwindSafe for Tlv
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