#[repr(C, packed(1))]pub struct DevPathMsgUart {
pub reserved: u32,
pub baudrate: u64,
pub databits: u8,
pub parity: u8,
pub stopbits: u8,
}Fields§
§reserved: u32§baudrate: u64§databits: u8§parity: u8§stopbits: u8Trait Implementations§
Source§impl Debug for DevPathMsgUart
impl Debug for DevPathMsgUart
Source§impl FromBytes for DevPathMsgUart
impl FromBytes for DevPathMsgUart
Source§impl FromZeros for DevPathMsgUart
impl FromZeros for DevPathMsgUart
impl Immutable for DevPathMsgUart
Source§impl IntoBytes for DevPathMsgUart
impl IntoBytes for DevPathMsgUart
Source§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl PartialEq for DevPathMsgUart
impl PartialEq for DevPathMsgUart
impl StructuralPartialEq for DevPathMsgUart
Source§impl TryFromBytes for DevPathMsgUart
impl TryFromBytes for DevPathMsgUart
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for DevPathMsgUart
impl RefUnwindSafe for DevPathMsgUart
impl Send for DevPathMsgUart
impl Sync for DevPathMsgUart
impl Unpin for DevPathMsgUart
impl UnsafeUnpin for DevPathMsgUart
impl UnwindSafe for DevPathMsgUart
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