pub struct TransmitPacketLazy<'a> { /* private fields */ }Implementations§
Source§impl<'a> TransmitPacketLazy<'a>
impl<'a> TransmitPacketLazy<'a>
pub fn payload_length(&self) -> DecodeResult<u16>
pub fn infra_id(&self) -> DecodeResult<u16>
pub fn plane_id(&self) -> DecodeResult<u32>
pub fn topic(&self) -> DecodeResult<u32>
pub fn source(&self) -> DecodeResult<EndpointAddrLazy<'a>>
Trait Implementations§
Source§impl<'a> Clone for TransmitPacketLazy<'a>
impl<'a> Clone for TransmitPacketLazy<'a>
Source§impl<'a> Debug for TransmitPacketLazy<'a>
impl<'a> Debug for TransmitPacketLazy<'a>
Source§impl<'a> Decode<'a> for TransmitPacketLazy<'a>
impl<'a> Decode<'a> for TransmitPacketLazy<'a>
fn decode(cursor: &DecodeCursor<'a>) -> DecodeResult<Self>
Source§impl<'a> Encode for TransmitPacketLazy<'a>
impl<'a> Encode for TransmitPacketLazy<'a>
fn scratch_len(&self) -> usize
fn encode(&self, cursor: &mut EncodeCursor<'_>)
Source§impl<'a> Lazy<'a> for TransmitPacketLazy<'a>
impl<'a> Lazy<'a> for TransmitPacketLazy<'a>
type Owned = TransmitPacket
Source§impl<'a> PartialEq for TransmitPacketLazy<'a>
impl<'a> PartialEq for TransmitPacketLazy<'a>
Source§impl<'a> TryFrom<TransmitPacketLazy<'a>> for TransmitPacket
impl<'a> TryFrom<TransmitPacketLazy<'a>> for TransmitPacket
Source§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
impl<'a> Compatible<TransmitPacket> for TransmitPacketLazy<'a>
impl<'a> Compatible<TransmitPacketLazy<'a>> for TransmitPacket
impl<'a> Compatible<TransmitPacketLazy<'a>> for TransmitPacketLazy<'a>
impl<'a> Copy for TransmitPacketLazy<'a>
Auto Trait Implementations§
impl<'a> Freeze for TransmitPacketLazy<'a>
impl<'a> RefUnwindSafe for TransmitPacketLazy<'a>
impl<'a> Send for TransmitPacketLazy<'a>
impl<'a> Sync for TransmitPacketLazy<'a>
impl<'a> Unpin for TransmitPacketLazy<'a>
impl<'a> UnwindSafe for TransmitPacketLazy<'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