pub enum PacketSide {
Server,
Client,
}Variants§
Trait Implementations§
Source§impl Clone for PacketSide
impl Clone for PacketSide
Source§fn clone(&self) -> PacketSide
fn clone(&self) -> PacketSide
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 PacketSide
impl Debug for PacketSide
Source§impl PartialEq for PacketSide
impl PartialEq for PacketSide
impl Copy for PacketSide
impl StructuralPartialEq for PacketSide
Auto Trait Implementations§
impl Freeze for PacketSide
impl RefUnwindSafe for PacketSide
impl Send for PacketSide
impl Sync for PacketSide
impl Unpin for PacketSide
impl UnwindSafe for PacketSide
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