pub struct ToBytesSerializer<T: ToBytes>(_, _, _);

Implementations

Serializes a static-sized object as a byte array (without length encoding).

Serializes a dynamically-sized object as a byte array with length encoding.

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.