pub struct Tlv<'a> {
pub tag: u8,
pub value: &'a [u8],
}Expand description
One TLV: its tag and its contents (header already stripped).
Fields§
§tag: u8§value: &'a [u8]Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Tlv<'a>
impl<'a> RefUnwindSafe for Tlv<'a>
impl<'a> Send for Tlv<'a>
impl<'a> Sync for Tlv<'a>
impl<'a> Unpin for Tlv<'a>
impl<'a> UnsafeUnpin for Tlv<'a>
impl<'a> UnwindSafe for Tlv<'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