Struct tls_codec::TlsSliceU16[][src]

pub struct TlsSliceU16<'a, T: Size + Serialize>(pub &'a [T]);

Trait Implementations

Serialize self and write it to the writer. The function returns the number of bytes written to writer. Read more

Serialize self and return it as a byte vector.

Serialize self and write it to the writer. The function returns the number of bytes written to writer. Read more

Serialize self and return it as a byte vector.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.