pub enum HandshakeIntent {
Status = 1,
Login = 2,
Transfer = 3,
}Expand description
The intent declared in the handshake, determining the next protocol state.
Variants§
Status = 1
Server list ping (STATUS).
Login = 2
Player login (LOGIN).
Transfer = 3
Server transfer (1.20.5+).
Implementations§
Trait Implementations§
Source§impl Clone for HandshakeIntent
impl Clone for HandshakeIntent
Source§fn clone(&self) -> HandshakeIntent
fn clone(&self) -> HandshakeIntent
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 HandshakeIntent
impl Debug for HandshakeIntent
Source§impl PartialEq for HandshakeIntent
impl PartialEq for HandshakeIntent
impl Copy for HandshakeIntent
impl Eq for HandshakeIntent
impl StructuralPartialEq for HandshakeIntent
Auto Trait Implementations§
impl Freeze for HandshakeIntent
impl RefUnwindSafe for HandshakeIntent
impl Send for HandshakeIntent
impl Sync for HandshakeIntent
impl Unpin for HandshakeIntent
impl UnsafeUnpin for HandshakeIntent
impl UnwindSafe for HandshakeIntent
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