pub enum DataPacketKind {
Lossy,
Reliable,
}Variants§
Trait Implementations§
Source§impl Clone for DataPacketKind
impl Clone for DataPacketKind
Source§fn clone(&self) -> DataPacketKind
fn clone(&self) -> DataPacketKind
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 DataPacketKind
impl Debug for DataPacketKind
Source§impl From<DataPacketKind> for Kind
impl From<DataPacketKind> for Kind
Source§fn from(kind: DataPacketKind) -> Self
fn from(kind: DataPacketKind) -> Self
Converts to this type from the input type.
Source§impl From<Kind> for DataPacketKind
impl From<Kind> for DataPacketKind
Source§impl PartialEq for DataPacketKind
impl PartialEq for DataPacketKind
impl Copy for DataPacketKind
impl Eq for DataPacketKind
impl StructuralPartialEq for DataPacketKind
Auto Trait Implementations§
impl Freeze for DataPacketKind
impl RefUnwindSafe for DataPacketKind
impl Send for DataPacketKind
impl Sync for DataPacketKind
impl Unpin for DataPacketKind
impl UnsafeUnpin for DataPacketKind
impl UnwindSafe for DataPacketKind
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