pub struct EncryptionResponsePacket {
pub shared_secret: Vec<u8>,
pub verify_token: Vec<u8>,
}Expand description
Serverbound encryption response (packet ID 0x01 in LOGIN state).
Fields§
RSA-encrypted shared secret.
verify_token: Vec<u8>RSA-encrypted verify token.
Trait Implementations§
Source§impl Clone for EncryptionResponsePacket
impl Clone for EncryptionResponsePacket
Source§fn clone(&self) -> EncryptionResponsePacket
fn clone(&self) -> EncryptionResponsePacket
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 EncryptionResponsePacket
impl Debug for EncryptionResponsePacket
Auto Trait Implementations§
impl Freeze for EncryptionResponsePacket
impl RefUnwindSafe for EncryptionResponsePacket
impl Send for EncryptionResponsePacket
impl Sync for EncryptionResponsePacket
impl Unpin for EncryptionResponsePacket
impl UnsafeUnpin for EncryptionResponsePacket
impl UnwindSafe for EncryptionResponsePacket
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