pub struct Data(pub Vec<u8>);Expand description
Data represents DATA attribute.
The DATA attribute is present in all Send and Data indications. The
value portion of this attribute is variable length and consists of
the application data (that is, the data that would immediately follow
the UDP header if the data was been sent directly between the client
and the peer).
Tuple Fields§
§0: Vec<u8>Trait Implementations§
impl Eq for Data
impl StructuralPartialEq for Data
Auto Trait Implementations§
impl Forget for Data
impl Freeze for Data
impl Move for Data
impl RefUnwindSafe for Data
impl Send for Datawhere
RawVecInner: Send,
impl Sync for Datawhere
RawVecInner: Sync,
impl Unpin for Data
impl UnsafeUnpin for Data
impl UnwindSafe for Datawhere
RawVecInner: UnwindSafe,
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