pub struct ApplicationData {
pub protocol: ApplicationProtocol,
pub payload: Vec<u8>,
}Expand description
Application Layer Data
Fields§
§protocol: ApplicationProtocol§payload: Vec<u8>Trait Implementations§
Source§impl Clone for ApplicationData
impl Clone for ApplicationData
Source§fn clone(&self) -> ApplicationData
fn clone(&self) -> ApplicationData
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 ApplicationData
impl Debug for ApplicationData
Source§impl<'de> Deserialize<'de> for ApplicationData
impl<'de> Deserialize<'de> for ApplicationData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ApplicationData
impl RefUnwindSafe for ApplicationData
impl Send for ApplicationData
impl Sync for ApplicationData
impl Unpin for ApplicationData
impl UnwindSafe for ApplicationData
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