pub struct TlsBlockZero {
pub length: i32,
}Expand description
Fields§
§length: i32Trait Implementations§
Source§impl Clone for TlsBlockZero
impl Clone for TlsBlockZero
Source§fn clone(&self) -> TlsBlockZero
fn clone(&self) -> TlsBlockZero
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 TlsBlockZero
impl Debug for TlsBlockZero
Source§impl Deserializable for TlsBlockZero
impl Deserializable for TlsBlockZero
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<TlsBlockZero> for TlsBlock
impl From<TlsBlockZero> for TlsBlock
Source§fn from(x: TlsBlockZero) -> Self
fn from(x: TlsBlockZero) -> Self
Converts to this type from the input type.
Source§impl Identifiable for TlsBlockZero
impl Identifiable for TlsBlockZero
Source§const CONSTRUCTOR_ID: u32 = 0x5a513593
const CONSTRUCTOR_ID: u32 = 0x5a513593
The constructor ID as specified in the TL schema.
Source§impl PartialEq for TlsBlockZero
impl PartialEq for TlsBlockZero
Source§impl Serializable for TlsBlockZero
impl Serializable for TlsBlockZero
Source§impl TryFrom<TlsBlock> for TlsBlockZero
impl TryFrom<TlsBlock> for TlsBlockZero
impl StructuralPartialEq for TlsBlockZero
Auto Trait Implementations§
impl Freeze for TlsBlockZero
impl RefUnwindSafe for TlsBlockZero
impl Send for TlsBlockZero
impl Sync for TlsBlockZero
impl Unpin for TlsBlockZero
impl UnsafeUnpin for TlsBlockZero
impl UnwindSafe for TlsBlockZero
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