pub enum ProtocolState {
Handshake,
Status,
Login,
Configuration,
Play,
}Variants§
Trait Implementations§
Source§impl Clone for ProtocolState
impl Clone for ProtocolState
Source§fn clone(&self) -> ProtocolState
fn clone(&self) -> ProtocolState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProtocolState
Source§impl Debug for ProtocolState
impl Debug for ProtocolState
impl Eq for ProtocolState
Source§impl Hash for ProtocolState
impl Hash for ProtocolState
Source§impl PartialEq for ProtocolState
impl PartialEq for ProtocolState
Source§fn eq(&self, other: &ProtocolState) -> bool
fn eq(&self, other: &ProtocolState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProtocolState
Auto Trait Implementations§
impl Freeze for ProtocolState
impl RefUnwindSafe for ProtocolState
impl Send for ProtocolState
impl Sync for ProtocolState
impl Unpin for ProtocolState
impl UnsafeUnpin for ProtocolState
impl UnwindSafe for ProtocolState
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