pub struct ClientHello {
pub version: String,
pub client_type: String,
pub operating_system: i32,
pub _unknown: i32,
}
Fields§
§version: String
§client_type: String
§operating_system: i32
§_unknown: i32
Trait Implementations§
source§impl BaseParser for ClientHello
impl BaseParser for ClientHello
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
source§impl Clone for ClientHello
impl Clone for ClientHello
source§fn clone(&self) -> ClientHello
fn clone(&self) -> ClientHello
Returns a copy 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 ClientHello
impl Debug for ClientHello
source§impl Default for ClientHello
impl Default for ClientHello
source§fn default() -> ClientHello
fn default() -> ClientHello
Returns the “default value” for a type. Read more
source§impl PacketVariable for ClientHello
impl PacketVariable for ClientHello
source§impl PartialEq<ClientHello> for ClientHello
impl PartialEq<ClientHello> for ClientHello
source§fn eq(&self, other: &ClientHello) -> bool
fn eq(&self, other: &ClientHello) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClientHello
Auto Trait Implementations§
impl RefUnwindSafe for ClientHello
impl Send for ClientHello
impl Sync for ClientHello
impl Unpin for ClientHello
impl UnwindSafe for ClientHello
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