Struct async_prost::AsyncProstReader
source · [−]pub struct AsyncProstReader<R, T, D> { /* private fields */ }
Expand description
A wrapper around an async reader that produces an asynchronous stream of prost-decoded values
Implementations
sourceimpl<R, T, D> AsyncProstReader<R, T, D>
impl<R, T, D> AsyncProstReader<R, T, D>
Trait Implementations
sourceimpl<R, T, D> Default for AsyncProstReader<R, T, D> where
R: Default,
impl<R, T, D> Default for AsyncProstReader<R, T, D> where
R: Default,
sourceimpl<R, T, D> From<R> for AsyncProstReader<R, T, D>
impl<R, T, D> From<R> for AsyncProstReader<R, T, D>
sourceimpl<R, T> Stream for AsyncProstReader<R, T, AsyncDestination> where
T: Message + Default,
R: AsyncRead + Unpin,
impl<R, T> Stream for AsyncProstReader<R, T, AsyncDestination> where
T: Message + Default,
R: AsyncRead + Unpin,
sourceimpl<R, T> Stream for AsyncProstReader<R, T, AsyncFrameDestination> where
R: AsyncRead + Unpin,
T: Framed + Default,
impl<R, T> Stream for AsyncProstReader<R, T, AsyncFrameDestination> where
R: AsyncRead + Unpin,
T: Framed + Default,
impl<R, T, D> Unpin for AsyncProstReader<R, T, D> where
R: Unpin,
Auto Trait Implementations
impl<R, T, D> RefUnwindSafe for AsyncProstReader<R, T, D> where
D: RefUnwindSafe,
R: RefUnwindSafe,
T: RefUnwindSafe,
impl<R, T, D> Send for AsyncProstReader<R, T, D> where
D: Send,
R: Send,
T: Send,
impl<R, T, D> Sync for AsyncProstReader<R, T, D> where
D: Sync,
R: Sync,
T: Sync,
impl<R, T, D> UnwindSafe for AsyncProstReader<R, T, D> where
D: UnwindSafe,
R: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more