#[repr(C)]pub struct ipv6hdr {
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub flow_lbl: [u8; 3],
pub payload_len: u16,
pub nexthdr: u8,
pub hop_limit: u8,
pub __bindgen_anon_1: ipv6hdr__bindgen_ty_1,
}Fields§
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§flow_lbl: [u8; 3]§payload_len: u16§nexthdr: u8§hop_limit: u8§__bindgen_anon_1: ipv6hdr__bindgen_ty_1Implementations§
Source§impl ipv6hdr
impl ipv6hdr
pub fn priority(&self) -> u8
pub fn set_priority(&mut self, val: u8)
pub unsafe fn priority_raw(this: *const ipv6hdr) -> u8
pub unsafe fn set_priority_raw(this: *mut ipv6hdr, val: u8)
pub fn version(&self) -> u8
pub fn set_version(&mut self, val: u8)
pub unsafe fn version_raw(this: *const ipv6hdr) -> u8
pub unsafe fn set_version_raw(this: *mut ipv6hdr, val: u8)
pub fn new_bitfield_1( priority: u8, version: u8, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ipv6hdr
impl RefUnwindSafe for ipv6hdr
impl Send for ipv6hdr
impl Sync for ipv6hdr
impl Unpin for ipv6hdr
impl UnwindSafe for ipv6hdr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more