pub struct TransmitPacket {
pub payload_length: u16,
pub infra_id: u16,
pub plane_id: u32,
pub topic: u32,
pub source: EndpointAddr,
}Fields§
§payload_length: u16§infra_id: u16§plane_id: u32§topic: u32§source: EndpointAddrTrait Implementations§
Source§impl Clone for TransmitPacket
impl Clone for TransmitPacket
Source§fn clone(&self) -> TransmitPacket
fn clone(&self) -> TransmitPacket
Returns a duplicate 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 moreSource§impl Debug for TransmitPacket
impl Debug for TransmitPacket
Source§impl<'a> Decode<'a> for TransmitPacket
impl<'a> Decode<'a> for TransmitPacket
fn decode(cursor: &DecodeCursor<'a>) -> DecodeResult<Self>
Source§impl Encode for TransmitPacket
impl Encode for TransmitPacket
fn scratch_len(&self) -> usize
fn encode(&self, cursor: &mut EncodeCursor<'_>)
Source§impl Hash for TransmitPacket
impl Hash for TransmitPacket
Source§impl Ord for TransmitPacket
impl Ord for TransmitPacket
Source§fn cmp(&self, other: &TransmitPacket) -> Ordering
fn cmp(&self, other: &TransmitPacket) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl Owned for TransmitPacket
impl Owned for TransmitPacket
type Lazy<'a> = TransmitPacketLazy<'a>
fn lazy_to_owned(lazy: Self::Lazy<'_>) -> DecodeResult<Self>
Source§impl PartialEq for TransmitPacket
impl PartialEq for TransmitPacket
Source§impl PartialOrd for TransmitPacket
impl PartialOrd for TransmitPacket
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 Compatible<TransmitPacket> for TransmitPacket
impl<'a> Compatible<TransmitPacket> for TransmitPacketLazy<'a>
impl<'a> Compatible<TransmitPacketLazy<'a>> for TransmitPacket
impl Copy for TransmitPacket
impl Eq for TransmitPacket
impl StructuralPartialEq for TransmitPacket
Auto Trait Implementations§
impl Freeze for TransmitPacket
impl RefUnwindSafe for TransmitPacket
impl Send for TransmitPacket
impl Sync for TransmitPacket
impl Unpin for TransmitPacket
impl UnwindSafe for TransmitPacket
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.