pub trait TryToCharacterStream<Reader: BufRead + Seek> {
    fn try_to_character_stream(
        &self
    ) -> Result<CharacterStream<Reader>, Box<dyn Error>>; fn try_to_character_stream_lossy(
        &self
    ) -> Result<CharacterStream<Reader>, Box<dyn Error>>; }
Expand description

Helper trait for converting values into a CharacterStream, with a potential for failure.

Required Methods

Attempt to convert into a CharacterStream.

Attempt to convert into a lossy CharacterStream.

Implementations on Foreign Types

Implementors