Enum ConnectionPhase
pub enum ConnectionPhase {
Configuration,
Play,
}Expand description
The protocol phase a connection is in.
Variants§
Trait Implementations§
§impl Clone for ConnectionPhase
impl Clone for ConnectionPhase
§fn clone(&self) -> ConnectionPhase
fn clone(&self) -> ConnectionPhase
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 ConnectionPhase
§impl Debug for ConnectionPhase
impl Debug for ConnectionPhase
impl Eq for ConnectionPhase
§impl Hash for ConnectionPhase
impl Hash for ConnectionPhase
§impl PartialEq for ConnectionPhase
impl PartialEq for ConnectionPhase
impl StructuralPartialEq for ConnectionPhase
Auto Trait Implementations§
impl Freeze for ConnectionPhase
impl RefUnwindSafe for ConnectionPhase
impl Send for ConnectionPhase
impl Sync for ConnectionPhase
impl Unpin for ConnectionPhase
impl UnsafeUnpin for ConnectionPhase
impl UnwindSafe for ConnectionPhase
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