Struct laminarmq_io::fs::glommio::BufferedFile
source · pub struct BufferedFile { /* private fields */ }
Trait Implementations§
source§impl AsyncAppend for BufferedFile
impl AsyncAppend for BufferedFile
async fn append( &mut self, bytes: Bytes, ) -> Result<AppendInfo<Self::Position, Self::Size>, UnwrittenError<Self::Error>>
source§impl AsyncClose for BufferedFile
impl AsyncClose for BufferedFile
source§impl AsyncFlush for BufferedFile
impl AsyncFlush for BufferedFile
source§impl AsyncRead<OwnedByteLender<ReadResult>> for BufferedFile
impl AsyncRead<OwnedByteLender<ReadResult>> for BufferedFile
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 AsyncRemove for BufferedFile
impl AsyncRemove for BufferedFile
source§impl AsyncTruncate for BufferedFile
impl AsyncTruncate for BufferedFile
source§impl FallibleEntity for BufferedFile
impl FallibleEntity for BufferedFile
type Error = BufferedFileError
Auto Trait Implementations§
impl !Freeze for BufferedFile
impl !RefUnwindSafe for BufferedFile
impl !Send for BufferedFile
impl !Sync for BufferedFile
impl Unpin for BufferedFile
impl !UnwindSafe for BufferedFile
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.