pub struct Stream<'f, A = AlwaysMatch>(_)
where
    A: Automaton
;
Expand description

Stream of key, value not exposing the state of the automaton.

Implementations

Convert this stream into a vector of byte strings and outputs.

Note that this creates a new allocation for every key in the stream.

Convert this stream into a vector of Unicode strings and outputs.

If any key is not valid UTF-8, then iteration on the stream is stopped and a UTF-8 decoding error is returned.

Note that this creates a new allocation for every key in the stream.

Convert this stream into a vector of byte strings.

Note that this creates a new allocation for every key in the stream.

Convert this stream into a vector of Unicode strings.

If any key is not valid UTF-8, then iteration on the stream is stopped and a UTF-8 decoding error is returned.

Note that this creates a new allocation for every key in the stream.

Convert this stream into a vector of outputs.

Trait Implementations

The type of the item emitted by this stream.
Emits the next element in this stream, or None to indicate the stream has been exhausted. 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.