Enum cubic_protocol::packet::PacketSide
source · [−]pub enum PacketSide {
Server,
Client,
}
Variants
Server
Client
Trait Implementations
sourceimpl Clone for PacketSide
impl Clone for PacketSide
sourcefn clone(&self) -> PacketSide
fn clone(&self) -> PacketSide
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PacketSide
impl Debug for PacketSide
sourceimpl PartialEq<PacketSide> for PacketSide
impl PartialEq<PacketSide> for PacketSide
impl Copy for PacketSide
impl StructuralPartialEq for PacketSide
Auto Trait Implementations
impl RefUnwindSafe for PacketSide
impl Send for PacketSide
impl Sync for PacketSide
impl Unpin for PacketSide
impl UnwindSafe for PacketSide
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more