Enum sbd::mo::InformationElement [−][src]
Expand description
A mobile-originated information element, or IE.
These are the building blocks of a SBD message.
Variants
Header(Header)
Tuple Fields
0: Header
Information element holding the mobile-originated header.
Payload(Vec<u8>)
The mobile originated payload.
LocationInformation([u8; 7])
The mobile originated location information.
FIXME I don’t have a test case for this, yet, so I haven’t actually broken out the location information into fields.
See #9.
Implementations
Reads this information element from a Read
.
Returns the length of this information element, including the information element header.
Returns true if this information element is empty.
At this point, only can be true if the payload is empty.
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InformationElement
impl Send for InformationElement
impl Sync for InformationElement
impl Unpin for InformationElement
impl UnwindSafe for InformationElement
Blanket Implementations
Mutably borrows from an owned value. Read more