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§
source§impl PartialEq<SendData> for SendData
impl PartialEq<SendData> for SendData
impl Eq for SendData
impl StructuralEq for SendData
impl StructuralPartialEq for SendData
Auto Trait Implementations§
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