pub struct VTParser { /* private fields */ }
Expand description

The virtual terminal parser. It works together with an implementation of VTActor.

Implementations

Returns if the state machine is in the ground state, i.e. there is no pending state held by the state machine.

Parse a single byte. This may result in a call to one of the methods on the provided actor.

Parse a sequence of bytes. The sequence need not be complete. This may result in some number of calls to the methods on the provided actor.

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.