pub struct FileReaderFactory(/* private fields */);
Expand description
A FileReaderFactory creates AsyncRead objects by rewinding and cloning a file. The given file must be clonable (that is, File::try_clone() must succeed).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for FileReaderFactory
impl !RefUnwindSafe for FileReaderFactory
impl Send for FileReaderFactory
impl Sync for FileReaderFactory
impl Unpin for FileReaderFactory
impl UnwindSafe for FileReaderFactory
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