Struct fast_protocol::datatypes::packets::LoginEncryptionResponse
source · pub struct LoginEncryptionResponse {
pub shared_secret_length: VarInt,
pub shared_secret: ByteArray,
pub verify_token_length: VarInt,
pub verify_token: ByteArray,
}Expand description
Packet used to authenticate with the server
Fields§
length of the shared secret
the value of the shared secret, encrypted with the server’s public key
verify_token_length: VarIntlength of the verify token
verify_token: ByteArrayverify token, encrypted with the same pulic key as the shared secret
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoginEncryptionResponse
impl RefUnwindSafe for LoginEncryptionResponse
impl Send for LoginEncryptionResponse
impl Sync for LoginEncryptionResponse
impl Unpin for LoginEncryptionResponse
impl UnwindSafe for LoginEncryptionResponse
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