pub enum DatagramPayload {
Frames(Vec<Frame>),
Ack(AckNackPayload),
Nack(AckNackPayload),
}Variants§
Trait Implementations§
Source§impl Clone for DatagramPayload
impl Clone for DatagramPayload
Source§fn clone(&self) -> DatagramPayload
fn clone(&self) -> DatagramPayload
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 moreAuto Trait Implementations§
impl Freeze for DatagramPayload
impl RefUnwindSafe for DatagramPayload
impl Send for DatagramPayload
impl Sync for DatagramPayload
impl Unpin for DatagramPayload
impl UnsafeUnpin for DatagramPayload
impl UnwindSafe for DatagramPayload
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