pub struct ClientHello {
pub capability_flags: u8,
pub auth_kind: AuthKind,
pub auth: Vec<u8>,
pub open_stream: Vec<u8>,
}Fields§
§capability_flags: u8bit 0 raw-frame, bit 1 zstd-batch, bit 2 xxh3 on control msgs. bits 3-7 reserved (must be 0).
auth_kind: AuthKind§auth: Vec<u8>Max 65535 bytes (u16 length on wire).
open_stream: Vec<u8>Opaque shuflr.v1.OpenStream protobuf bytes. Max
MAX_MESSAGE_BYTES minus the fixed-size fields.
Trait Implementations§
Source§impl Clone for ClientHello
impl Clone for ClientHello
Source§fn clone(&self) -> ClientHello
fn clone(&self) -> ClientHello
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 ClientHello
impl Debug for ClientHello
Source§impl PartialEq for ClientHello
impl PartialEq for ClientHello
impl Eq 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 UnsafeUnpin 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