pub struct ReceivedDatagram {
pub source: Locator,
pub data: Vec<u8>,
}Expand description
Empfangenes Datagram + Quell-Locator.
Fields§
§source: LocatorQuell-Locator (z.B. UDP-Quelladresse).
data: Vec<u8>Datagram-Bytes.
Trait Implementations§
Source§impl Clone for ReceivedDatagram
impl Clone for ReceivedDatagram
Source§fn clone(&self) -> ReceivedDatagram
fn clone(&self) -> ReceivedDatagram
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReceivedDatagram
impl Debug for ReceivedDatagram
Source§impl PartialEq for ReceivedDatagram
impl PartialEq for ReceivedDatagram
Source§fn eq(&self, other: &ReceivedDatagram) -> bool
fn eq(&self, other: &ReceivedDatagram) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReceivedDatagram
impl StructuralPartialEq for ReceivedDatagram
Auto Trait Implementations§
impl Freeze for ReceivedDatagram
impl RefUnwindSafe for ReceivedDatagram
impl Send for ReceivedDatagram
impl Sync for ReceivedDatagram
impl Unpin for ReceivedDatagram
impl UnsafeUnpin for ReceivedDatagram
impl UnwindSafe for ReceivedDatagram
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