Struct smpp_pdu::pdu::tlvs::Tlv [−][src]
Fields
raw_tag: u16
value: Vec<u8>
Implementations
Read the next TLV from the supplied BufRead. If the BufRead is empty, return Ok(None). If reading succeeds, return Ok(Some(Tlv)). If reading fails, return the relevant io::Error.
If this TLV’s tag is known, return Ok() containing it. Otherwise, return Err() containing the raw tag value.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Tlv
impl UnwindSafe for Tlv
Blanket Implementations
Mutably borrows from an owned value. Read more