pub trait LogReaderExtwhere
Self: LogReader,{
// Required methods
fn transform_chunk<F: Fn(StreamChunk) -> StreamChunk + Sized>(
self,
_: F,
) -> TransformChunkLogReader<F, Self>;
fn monitored(self, _: LogReaderMetrics) -> impl LogReader;
fn rate_limited(self, _: UnboundedReceiver<RateLimit>) -> impl LogReader;
}
Required Methods§
fn transform_chunk<F: Fn(StreamChunk) -> StreamChunk + Sized>( self, _: F, ) -> TransformChunkLogReader<F, Self>
fn monitored(self, _: LogReaderMetrics) -> impl LogReader
fn rate_limited(self, _: UnboundedReceiver<RateLimit>) -> impl LogReader
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.