pub struct HttpFile { /* private fields */ }Expand description
An remote file accessed over HTTP.
Implements AsyncRead and AsyncSeek traits.
- Supports seeking and reading at arbitrary positions.
- Uses HTTP Range requests to fetch data.
- Handles transient network errors with retries.
stream_position()is cheap, as it is tracked locally.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for HttpFile
impl !RefUnwindSafe for HttpFile
impl Send for HttpFile
impl !Sync for HttpFile
impl Unpin for HttpFile
impl !UnwindSafe for HttpFile
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