Skip to main content

ReaderExt

Trait ReaderExt 

Source
pub trait ReaderExt<P = Payload>:
    Reader<P>
    + Send
    + Sync
    + Sized
    + 'static
where Self::Subscription: Send + 'static, Self::Acker: 'static, Self::Cursor: Send + 'static, Self::Stream: 'static, P: Send + 'static,
{ // Provided methods fn into_boxed( self, ) -> BoxReader<Self::Subscription, Self::Cursor, BoxAcker, P> { ... } fn into_arced( self, ) -> ArcReader<Self::Subscription, Self::Cursor, BoxAcker, P> { ... } }

Provided Methods§

Source

fn into_boxed(self) -> BoxReader<Self::Subscription, Self::Cursor, BoxAcker, P>

Source

fn into_arced(self) -> ArcReader<Self::Subscription, Self::Cursor, BoxAcker, P>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<R, P> ReaderExt<P> for R
where R: Reader<P> + Send + Sync + 'static, R::Subscription: Send + 'static, R::Acker: 'static, R::Cursor: Send + 'static, R::Stream: 'static, P: Send + 'static,