pub struct MonoAdapter<IO>(/* private fields */);Trait Implementations§
Source§impl<B: IoBuf> IoBuf for MonoAdapter<B>
impl<B: IoBuf> IoBuf for MonoAdapter<B>
Source§fn bytes_init(&self) -> usize
fn bytes_init(&self) -> usize
Number of initialized bytes. Read more
Source§fn slice(self, range: impl RangeBounds<usize>) -> Slice<Self>where
Self: Sized,
fn slice(self, range: impl RangeBounds<usize>) -> Slice<Self>where
Self: Sized,
Returns a view of the buffer with the specified range.
Source§unsafe fn slice_unchecked(self, range: impl RangeBounds<usize>) -> Slice<Self>where
Self: Sized,
unsafe fn slice_unchecked(self, range: impl RangeBounds<usize>) -> Slice<Self>where
Self: Sized,
Returns a view of the buffer with the specified range without boundary
checking. Read more
Source§impl<R: AsyncReadRent> VortexRead for MonoAdapter<R>
impl<R: AsyncReadRent> VortexRead for MonoAdapter<R>
Auto Trait Implementations§
impl<IO> Freeze for MonoAdapter<IO>where
IO: Freeze,
impl<IO> RefUnwindSafe for MonoAdapter<IO>where
IO: RefUnwindSafe,
impl<IO> Send for MonoAdapter<IO>where
IO: Send,
impl<IO> Sync for MonoAdapter<IO>where
IO: Sync,
impl<IO> Unpin for MonoAdapter<IO>where
IO: Unpin,
impl<IO> UnwindSafe for MonoAdapter<IO>where
IO: 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
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 more