Struct iroh_io::HttpAdapter
source · pub struct HttpAdapter { /* private fields */ }Expand description
A struct that implements AsyncSliceReader using HTTP range requests
Implementations§
source§impl HttpAdapter
impl HttpAdapter
Trait Implementations§
source§impl AsyncSliceReader for HttpAdapter
impl AsyncSliceReader for HttpAdapter
Auto Trait Implementations§
impl !RefUnwindSafe for HttpAdapter
impl Send for HttpAdapter
impl Sync for HttpAdapter
impl Unpin for HttpAdapter
impl !UnwindSafe for HttpAdapter
Blanket Implementations§
source§impl<T> AsyncSliceReaderExt for Twhere
T: AsyncSliceReader,
impl<T> AsyncSliceReaderExt for Twhere
T: AsyncSliceReader,
source§async fn read_to_end(&mut self) -> Result<Bytes>
async fn read_to_end(&mut self) -> Result<Bytes>
Read the entire resource into a bytes::Bytes buffer, if possible.
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