pub struct RepacketizerState<'rp, 'buf> { /* private fields */ }
Expand description

An in-progress repacketization.

Implementations

Add a packet to the current repacketizer state.

Add a packet to the current repacketizer state, moving it.

Get the total number of frames contained in packet data submitted so far via cat.

Construct a new packet from data previously submitted via cat.

All previously submitted frames are used.

Construct a new packet from data previously submitted via cat, with a manually specified subrange.

The end index should not exceed the value of get_nb_frames().

Trait Implementations

Formats the value using the given formatter. 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

Returns the argument unchanged.

Calls U::from(self).

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

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.