pub struct Ipv6ExtensionHeader<'a> { /* private fields */ }
Expand description
An IPv6 Extension Header.
Implementations§
Source§impl<'a> Ipv6ExtensionHeader<'a>
impl<'a> Ipv6ExtensionHeader<'a>
Sourcepub fn data(&self) -> &Ipv6ExtensionHeaderData<'a>
pub fn data(&self) -> &Ipv6ExtensionHeaderData<'a>
Returns the extension header-specific data.
Sourcepub fn into_data(self) -> Ipv6ExtensionHeaderData<'a>
pub fn into_data(self) -> Ipv6ExtensionHeaderData<'a>
Consumes self
returning only the containing data.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Ipv6ExtensionHeader<'a>
impl<'a> RefUnwindSafe for Ipv6ExtensionHeader<'a>
impl<'a> Send for Ipv6ExtensionHeader<'a>
impl<'a> Sync for Ipv6ExtensionHeader<'a>
impl<'a> Unpin for Ipv6ExtensionHeader<'a>
impl<'a> UnwindSafe for Ipv6ExtensionHeader<'a>
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