pub struct TlsClientHello {
pub blocks: RawVec<TlsBlock>,
}Expand description
Fields§
§blocks: RawVec<TlsBlock>Trait Implementations§
Source§impl Clone for TlsClientHello
impl Clone for TlsClientHello
Source§fn clone(&self) -> TlsClientHello
fn clone(&self) -> TlsClientHello
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 TlsClientHello
impl Debug for TlsClientHello
Source§impl Deserializable for TlsClientHello
impl Deserializable for TlsClientHello
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<TlsClientHello> for TlsClientHello
impl From<TlsClientHello> for TlsClientHello
Source§fn from(x: TlsClientHello) -> Self
fn from(x: TlsClientHello) -> Self
Converts to this type from the input type.
Source§impl Identifiable for TlsClientHello
impl Identifiable for TlsClientHello
Source§const CONSTRUCTOR_ID: u32 = 0xc8e87665
const CONSTRUCTOR_ID: u32 = 0xc8e87665
The constructor ID as specified in the TL schema.
Source§impl PartialEq for TlsClientHello
impl PartialEq for TlsClientHello
Source§impl Serializable for TlsClientHello
impl Serializable for TlsClientHello
Source§impl TryFrom<TlsClientHello> for TlsClientHello
impl TryFrom<TlsClientHello> for TlsClientHello
Source§type Error = TlsClientHello
type Error = TlsClientHello
The type returned in the event of a conversion error.
impl StructuralPartialEq for TlsClientHello
Auto Trait Implementations§
impl Freeze for TlsClientHello
impl RefUnwindSafe for TlsClientHello
impl Send for TlsClientHello
impl Sync for TlsClientHello
impl Unpin for TlsClientHello
impl UnsafeUnpin for TlsClientHello
impl UnwindSafe for TlsClientHello
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