Struct laminarmq_io::fs::tokio_uring::TokioUringFile
source · pub struct TokioUringFile { /* private fields */ }
Implementations§
Trait Implementations§
source§impl AsyncAppend for TokioUringFile
impl AsyncAppend for TokioUringFile
async fn append( &mut self, bytes: Bytes, ) -> Result<AppendInfo<Self::Position, Self::Size>, UnwrittenError<Self::Error>>
source§impl AsyncBufRead for TokioUringFile
impl AsyncBufRead for TokioUringFile
async fn read_at_buf( &mut self, position: Self::Position, buffer: BytesMut, ) -> Result<ReadBytes<BytesMut, Self::Size>, UnreadError<Self::Error>>
fn read_at_buf_sized( &mut self, position: Self::Position, size: Self::Size, buffer: BytesMut, ) -> impl Future<Output = Result<ReadBytes<BytesMut, Self::Size>, UnreadError<Self::Error>>>
source§impl AsyncClose for TokioUringFile
impl AsyncClose for TokioUringFile
source§impl AsyncFlush for TokioUringFile
impl AsyncFlush for TokioUringFile
source§impl AsyncRemove for TokioUringFile
impl AsyncRemove for TokioUringFile
source§impl FallibleEntity for TokioUringFile
impl FallibleEntity for TokioUringFile
type Error = TokioUringFileError
Auto Trait Implementations§
impl Freeze for TokioUringFile
impl !RefUnwindSafe for TokioUringFile
impl !Send for TokioUringFile
impl !Sync for TokioUringFile
impl Unpin for TokioUringFile
impl !UnwindSafe for TokioUringFile
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.