pub struct SendData {
pub payload: Vec<u8>,
pub snd_info: Option<SendInfo>,
}
Expand description
Structure Represnting Data to be Sent.
This structure contains actual paylod and optional ancillary data.
Fields§
§payload: Vec<u8>
Received Message Payload.
snd_info: Option<SendInfo>
Optional ancillary information used to send the data.
Trait Implementations§
impl Eq for SendData
impl StructuralPartialEq for SendData
Auto Trait Implementations§
impl Freeze for SendData
impl RefUnwindSafe for SendData
impl Send for SendData
impl Sync for SendData
impl Unpin for SendData
impl UnwindSafe for SendData
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