Struct laminarmq_io::io_types::ReadLimitedAsyncRead
source · pub struct ReadLimitedAsyncRead<R, S> { /* private fields */ }
Trait Implementations§
source§impl<B, R> AsyncRead<B> for ReadLimitedAsyncRead<R, R::Size>where
R: AsyncRead<B>,
B: ByteLender,
impl<B, R> AsyncRead<B> for ReadLimitedAsyncRead<R, R::Size>where
R: AsyncRead<B>,
B: ByteLender,
source§impl<R, S> FallibleEntity for ReadLimitedAsyncRead<R, S>where
R: FallibleEntity,
impl<R, S> FallibleEntity for ReadLimitedAsyncRead<R, S>where
R: FallibleEntity,
type Error = <R as FallibleEntity>::Error
source§impl<R> SizedEntity for ReadLimitedAsyncRead<R, R::Size>where
R: SizedEntity,
impl<R> SizedEntity for ReadLimitedAsyncRead<R, R::Size>where
R: SizedEntity,
Auto Trait Implementations§
impl<R, S> Freeze for ReadLimitedAsyncRead<R, S>
impl<R, S> RefUnwindSafe for ReadLimitedAsyncRead<R, S>where
R: RefUnwindSafe,
S: RefUnwindSafe,
impl<R, S> Send for ReadLimitedAsyncRead<R, S>
impl<R, S> Sync for ReadLimitedAsyncRead<R, S>
impl<R, S> Unpin for ReadLimitedAsyncRead<R, S>
impl<R, S> UnwindSafe for ReadLimitedAsyncRead<R, S>where
R: UnwindSafe,
S: 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.