Struct otopr::encoding::EncodeAsRef[][src]

pub struct EncodeAsRef<T, U: ?Sized>(_, _);

Implementations

Trait Implementations

returns the size in bytes when encoded, including the field number.

The entry point to encoding Encodables in a message. Read more

Encodes a field using precomputed bytes for the field number and the wire type varint. Read more

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.