pub struct TrailingZeroInput<'a>(_);
Expand description

Input that adds infinite number of zero after wrapped input.

Implementations

Create a new instance from the given byte array.

Trait Implementations

Should return the remaining length of the input data. If no information about the input length is available, None should be returned. Read more

Read the exact number of bytes required to fill the given buffer. Read more

Read a single byte from the input.

Descend into nested reference when decoding. This is called when decoding a new refence-based instance, such as Vec or Box. Currently all such types are allocated on the heap. Read more

Ascend to previous structure level when decoding. This is called when decoding reference-based type is finished. 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

Convert from a value of T into an equivalent instance of Option<Self>. Read more

Consume self to return Some equivalent value of Option<T>. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Get a reference to the inner from the outer.

Get a mutable reference to the inner from the outer.

Should always be Self

Convert from a value of T into an equivalent instance of Self. Read more

Consume self to return an equivalent value of T. Read more

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.

The counterpart to unchecked_from.

Consume self to return an equivalent value of T.