pub enum HeaderInformationElementRepr {
TimeCorrection(TimeCorrectionRepr),
HeaderTermination1,
HeaderTermination2,
}Expand description
A high-level representation of a Header Information Element.
Variants§
TimeCorrection(TimeCorrectionRepr)
Time Correction Header Information Element.
HeaderTermination1
Header Termination 1.
HeaderTermination2
Header Termination 2.
Implementations§
Source§impl HeaderInformationElementRepr
impl HeaderInformationElementRepr
Sourcepub fn parse(ie: &HeaderInformationElement<&[u8]>) -> Result<Self>
pub fn parse(ie: &HeaderInformationElement<&[u8]>) -> Result<Self>
Parse a Header Information Element.
Sourcepub fn buffer_len(&self) -> usize
pub fn buffer_len(&self) -> usize
The buffer length required to emit the Header Information Element.
Trait Implementations§
Source§impl Debug for HeaderInformationElementRepr
impl Debug for HeaderInformationElementRepr
Source§impl From<&HeaderInformationElementRepr> for HeaderElementId
impl From<&HeaderInformationElementRepr> for HeaderElementId
Source§fn from(val: &HeaderInformationElementRepr) -> Self
fn from(val: &HeaderInformationElementRepr) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HeaderInformationElementRepr
impl RefUnwindSafe for HeaderInformationElementRepr
impl Send for HeaderInformationElementRepr
impl Sync for HeaderInformationElementRepr
impl Unpin for HeaderInformationElementRepr
impl UnwindSafe for HeaderInformationElementRepr
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