pub struct HttpFetcher { /* private fields */ }Expand description
Default blocking HTTP implementation using ureq.
Implementations§
Source§impl HttpFetcher
impl HttpFetcher
Trait Implementations§
Source§impl Default for HttpFetcher
impl Default for HttpFetcher
Source§impl DiscoveryFetcher for HttpFetcher
impl DiscoveryFetcher for HttpFetcher
Source§fn fetch_document(
&self,
service: &str,
version: &str,
) -> Result<String, BuilderError>
fn fetch_document( &self, service: &str, version: &str, ) -> Result<String, BuilderError>
Returns the raw JSON body of the Discovery REST document.
Auto Trait Implementations§
impl Freeze for HttpFetcher
impl !RefUnwindSafe for HttpFetcher
impl Send for HttpFetcher
impl Sync for HttpFetcher
impl Unpin for HttpFetcher
impl UnsafeUnpin for HttpFetcher
impl !UnwindSafe for HttpFetcher
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