IntoAsyncParser

Trait IntoAsyncParser 

Source
pub trait IntoAsyncParser<'r> {
    // Required method
    fn into_async_parser<Parser: LogParser>(self) -> AsyncParser<'r, Parser>;
}

Required Methods§

Source

fn into_async_parser<Parser: LogParser>(self) -> AsyncParser<'r, Parser>

Creates a new parser from an async buffered reader.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'r, R: AsyncBufRead + Unpin + 'r> IntoAsyncParser<'r> for R