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 for ClientHello
impl PartialEq for ClientHello
impl StructuralPartialEq for ClientHello
Auto Trait Implementations§
impl Freeze for ClientHello
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