pub enum Peers {
Server,
Players,
}
Variants§
Server
Communication between networking server and a player/client.
Players
Communication between a players (one-to-all).
Trait Implementations§
source§impl PartialEq for Peers
impl PartialEq for Peers
impl Copy for Peers
impl Eq for Peers
impl StructuralPartialEq for Peers
Auto Trait Implementations§
impl Freeze for Peers
impl RefUnwindSafe for Peers
impl Send for Peers
impl Sync for Peers
impl Unpin for Peers
impl UnwindSafe for Peers
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.