Struct laminarmq_io::io_types::AsyncReadStreamRead
source · pub struct AsyncReadStreamRead<R>(/* private fields */);
Implementations§
source§impl<R> AsyncReadStreamRead<R>
impl<R> AsyncReadStreamRead<R>
pub fn into_inner(self) -> R
Trait Implementations§
source§impl<R> Deref for AsyncReadStreamRead<R>
impl<R> Deref for AsyncReadStreamRead<R>
source§impl<R> DerefMut for AsyncReadStreamRead<R>
impl<R> DerefMut for AsyncReadStreamRead<R>
source§impl<R> FallibleEntity for AsyncReadStreamRead<R>where
R: FallibleEntity,
impl<R> FallibleEntity for AsyncReadStreamRead<R>where
R: FallibleEntity,
type Error = <R as FallibleEntity>::Error
source§impl<R> SizedEntity for AsyncReadStreamRead<R>where
R: SizedEntity,
impl<R> SizedEntity for AsyncReadStreamRead<R>where
R: SizedEntity,
source§impl<R, B> StreamRead<B> for AsyncReadStreamRead<R>where
R: AsyncRead<B>,
B: ByteLender,
impl<R, B> StreamRead<B> for AsyncReadStreamRead<R>where
R: AsyncRead<B>,
B: ByteLender,
fn read_stream_at<'a>(
&'a mut self,
position: Self::Position,
size: Self::Size,
) -> impl Stream<FallibleByteLender<B, Self::Error>> + 'awhere
B: 'a,
Auto Trait Implementations§
impl<R> Freeze for AsyncReadStreamRead<R>where
R: Freeze,
impl<R> RefUnwindSafe for AsyncReadStreamRead<R>where
R: RefUnwindSafe,
impl<R> Send for AsyncReadStreamRead<R>where
R: Send,
impl<R> Sync for AsyncReadStreamRead<R>where
R: Sync,
impl<R> Unpin for AsyncReadStreamRead<R>where
R: Unpin,
impl<R> UnwindSafe for AsyncReadStreamRead<R>where
R: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.