pub struct InformationElementsRepr {
pub header_information_elements: Vec<HeaderInformationElementRepr, 16>,
pub payload_information_elements: Vec<PayloadInformationElementRepr, 16>,
}Expand description
A high-level representation of Information Elements.
Fields§
§header_information_elements: Vec<HeaderInformationElementRepr, 16>The header information elements.
payload_information_elements: Vec<PayloadInformationElementRepr, 16>The payload information elements.
Implementations§
Source§impl InformationElementsRepr
impl InformationElementsRepr
Sourcepub fn parse(ie: InformationElements<&[u8]>) -> Result<Self>
pub fn parse(ie: InformationElements<&[u8]>) -> Result<Self>
Parse Information Elements.
Sourcepub fn buffer_len(&self, contains_payload: bool) -> usize
pub fn buffer_len(&self, contains_payload: bool) -> usize
The buffer length required to emit the Information Elements.
Trait Implementations§
Source§impl Debug for InformationElementsRepr
impl Debug for InformationElementsRepr
Source§impl Default for InformationElementsRepr
impl Default for InformationElementsRepr
Source§fn default() -> InformationElementsRepr
fn default() -> InformationElementsRepr
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InformationElementsRepr
impl RefUnwindSafe for InformationElementsRepr
impl Send for InformationElementsRepr
impl Sync for InformationElementsRepr
impl Unpin for InformationElementsRepr
impl UnwindSafe for InformationElementsRepr
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