#[repr(C, packed(1))]pub struct ipv6_hdr_t {
pub v_tc_fl: network_uint32_t,
pub len: network_uint16_t,
pub nh: uint8_t,
pub hl: uint8_t,
pub src: ipv6_addr_t,
pub dst: ipv6_addr_t,
}
Fields§
§v_tc_fl: network_uint32_t
§len: network_uint16_t
§nh: uint8_t
§hl: uint8_t
§src: ipv6_addr_t
§dst: ipv6_addr_t
Trait Implementations§
Source§impl Clone for ipv6_hdr_t
impl Clone for ipv6_hdr_t
Source§fn clone(&self) -> ipv6_hdr_t
fn clone(&self) -> ipv6_hdr_t
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for ipv6_hdr_t
Auto Trait Implementations§
impl Freeze for ipv6_hdr_t
impl RefUnwindSafe for ipv6_hdr_t
impl Send for ipv6_hdr_t
impl Sync for ipv6_hdr_t
impl Unpin for ipv6_hdr_t
impl UnwindSafe for ipv6_hdr_t
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes