pub struct HttpTransport {
pub fetch: HttpFetch,
pub fetch_many: Option<HttpFetchMany>,
pub post: Option<HttpPost>,
}Fields§
§fetch: HttpFetch§fetch_many: Option<HttpFetchMany>§post: Option<HttpPost>Trait Implementations§
Source§impl Transport for HttpTransport
impl Transport for HttpTransport
fn fetch( &self, url: &str, if_modified_since: Option<&str>, ) -> Result<Fetched, RepoError>
Auto Trait Implementations§
impl !RefUnwindSafe for HttpTransport
impl !UnwindSafe for HttpTransport
impl Freeze for HttpTransport
impl Send for HttpTransport
impl Sync for HttpTransport
impl Unpin for HttpTransport
impl UnsafeUnpin for HttpTransport
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