pub struct Transmission {
pub transmission_id: u32,
pub destination: Destination,
pub archive: Option<ArchiveKey>,
pub payload: Vec<u8, MAX_FRAME>,
}Expand description
A frame for the platform to transmit.
Fields§
§transmission_id: u32§destination: Destination§archive: Option<ArchiveKey>When present, the platform should archive this payload as resendable
material under this key (control frames carry None).
payload: Vec<u8, MAX_FRAME>Encoded text-message payload (without the payload-type byte).
Trait Implementations§
Source§impl Clone for Transmission
impl Clone for Transmission
Source§fn clone(&self) -> Transmission
fn clone(&self) -> Transmission
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Transmission
impl RefUnwindSafe for Transmission
impl Send for Transmission
impl Sync for Transmission
impl Unpin for Transmission
impl UnwindSafe for Transmission
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)