Struct hyper_staticfile::vfs::TokioFileAccess
source · pub struct TokioFileAccess { /* private fields */ }
Expand description
Struct that wraps a tokio File
to implement FileAccess
.
Implementations§
Trait Implementations§
source§impl AsyncSeek for TokioFileAccess
impl AsyncSeek for TokioFileAccess
Auto Trait Implementations§
impl !RefUnwindSafe for TokioFileAccess
impl Send for TokioFileAccess
impl Sync for TokioFileAccess
impl Unpin for TokioFileAccess
impl UnwindSafe for TokioFileAccess
Blanket Implementations§
source§impl<S> AsyncSeekExt for Swhere
S: AsyncSeek + ?Sized,
impl<S> AsyncSeekExt for Swhere S: AsyncSeek + ?Sized,
source§fn seek(&mut self, pos: SeekFrom) -> Seek<'_, Self>where
Self: Unpin,
fn seek(&mut self, pos: SeekFrom) -> Seek<'_, Self>where Self: Unpin,
Creates a future which will seek an IO object, and then yield the
new position in the object and the object itself. Read more
source§fn rewind(&mut self) -> Seek<'_, Self>where
Self: Unpin,
fn rewind(&mut self) -> Seek<'_, Self>where Self: Unpin,
Creates a future which will rewind to the beginning of the stream. Read more
source§fn stream_position(&mut self) -> Seek<'_, Self>where
Self: Unpin,
fn stream_position(&mut self) -> Seek<'_, Self>where Self: Unpin,
Creates a future which will return the current seek position from the
start of the stream. Read more
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