Struct fidl_fuchsia_wlan_mesh::MeshPath
source · #[repr(C)]pub struct MeshPath {
pub dest_address: [u8; 6],
pub next_hop: [u8; 6],
pub metric: u32,
}
Fields§
§dest_address: [u8; 6]
§next_hop: [u8; 6]
§metric: u32
Trait Implementations§
source§impl AsBytes for MeshPathwhere
[u8; 6]: AsBytes,
u32: AsBytes,
HasPadding<MeshPath, { _ }>: ShouldBe<{ _ }>,
impl AsBytes for MeshPathwhere [u8; 6]: AsBytes, u32: AsBytes, HasPadding<MeshPath, { _ }>: ShouldBe<{ _ }>,
§fn as_bytes_mut(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_bytes_mut(&mut self) -> &mut [u8] ⓘwhere Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to_prefix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
fn write_to_prefix<B>(&self, bytes: B) -> Option<()>where B: ByteSliceMut,
§fn write_to_suffix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
fn write_to_suffix<B>(&self, bytes: B) -> Option<()>where B: ByteSliceMut,
source§impl Decode<MeshPath> for MeshPath
impl Decode<MeshPath> for MeshPath
source§impl<T0: Encode<Array<u8, 6>>, T1: Encode<Array<u8, 6>>, T2: Encode<u32>> Encode<MeshPath> for (T0, T1, T2)
impl<T0: Encode<Array<u8, 6>>, T1: Encode<Array<u8, 6>>, T2: Encode<u32>> Encode<MeshPath> for (T0, T1, T2)
source§impl FromBytes for MeshPathwhere
[u8; 6]: FromBytes,
u32: FromBytes,
impl FromBytes for MeshPathwhere [u8; 6]: FromBytes, u32: FromBytes,
§fn read_from_prefix<B>(bytes: B) -> Option<Self>where
B: ByteSlice,
Self: Sized,
fn read_from_prefix<B>(bytes: B) -> Option<Self>where B: ByteSlice, Self: Sized,
§fn read_from_suffix<B>(bytes: B) -> Option<Self>where
B: ByteSlice,
Self: Sized,
fn read_from_suffix<B>(bytes: B) -> Option<Self>where B: ByteSlice, Self: Sized,
§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere Self: Sized,
Creates an instance of
Self
from zeroed bytes.source§impl Ord for MeshPath
impl Ord for MeshPath
source§impl PartialEq<MeshPath> for MeshPath
impl PartialEq<MeshPath> for MeshPath
source§impl PartialOrd<MeshPath> for MeshPath
impl PartialOrd<MeshPath> for MeshPath
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TypeMarker for MeshPath
impl TypeMarker for MeshPath
source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read moresource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.