pub enum ClientHelloStatus {
Incomplete,
Complete(Vec<u8>),
Invalid,
}Expand description
Where reading a ClientHello from the start of a connection stands.
Variants§
Incomplete
The bytes so far are a valid beginning; more are needed.
Complete(Vec<u8>)
The whole ClientHello, as the handshake message body (without the handshake header), reassembled from however many records carried it.
Invalid
Not a TLS ClientHello, or larger than MAX_CLIENT_HELLO_SIZE.
Trait Implementations§
Source§impl Debug for ClientHelloStatus
impl Debug for ClientHelloStatus
impl Eq for ClientHelloStatus
Source§impl PartialEq for ClientHelloStatus
impl PartialEq for ClientHelloStatus
impl StructuralPartialEq for ClientHelloStatus
Auto Trait Implementations§
impl Freeze for ClientHelloStatus
impl RefUnwindSafe for ClientHelloStatus
impl Send for ClientHelloStatus
impl Sync for ClientHelloStatus
impl Unpin for ClientHelloStatus
impl UnsafeUnpin for ClientHelloStatus
impl UnwindSafe for ClientHelloStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.