pub struct TlvEntry {
pub tlv_type: u16,
pub flags: u16,
pub value: Vec<u8>,
}Expand description
单个 TLV 条目。
Fields§
§tlv_type: u16类型号。
flags: u16标志位。
value: Vec<u8>原始 value(若置 ENCRYPTED 则为密文)。
Implementations§
Trait Implementations§
impl Eq for TlvEntry
impl StructuralPartialEq for TlvEntry
Auto Trait Implementations§
impl Forget for TlvEntry
impl Freeze for TlvEntry
impl RefUnwindSafe for TlvEntry
impl Send for TlvEntry
impl Sync for TlvEntry
impl Unpin for TlvEntry
impl UnsafeUnpin for TlvEntry
impl UnwindSafe for TlvEntry
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