Struct laminarmq_io::fs::glommio::DmaFile
source · pub struct DmaFile { /* private fields */ }
Trait Implementations§
source§impl AsyncAppend for DmaFile
impl AsyncAppend for DmaFile
async fn append( &mut self, bytes: Bytes, ) -> Result<AppendInfo<Self::Position, Self::Size>, UnwrittenError<Self::Error>>
source§impl AsyncRead<OwnedByteLender<ReadResult>> for DmaFile
impl AsyncRead<OwnedByteLender<ReadResult>> for DmaFile
async fn read_at<'a>(
&'a mut self,
position: Self::Position,
size: Self::Size,
) -> Result<ReadBytes<<OwnedByteLender<ReadResult> as ByteLender>::ByteBuf<'a>, Self::Size>, Self::Error>where
OwnedByteLender<ReadResult>: 'a,
source§impl AsyncTruncate for DmaFile
impl AsyncTruncate for DmaFile
source§impl FallibleEntity for DmaFile
impl FallibleEntity for DmaFile
type Error = DmaFileError
Auto Trait Implementations§
impl !Freeze for DmaFile
impl !RefUnwindSafe for DmaFile
impl !Send for DmaFile
impl !Sync for DmaFile
impl Unpin for DmaFile
impl !UnwindSafe for DmaFile
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.