pub struct BlockedHttpClient;Implementations§
Trait Implementations§
Source§impl HttpClient for BlockedHttpClient
impl HttpClient for BlockedHttpClient
fn send( &self, _req: Request<AsyncBody>, ) -> BoxFuture<'static, Result<Response<AsyncBody>>>
fn user_agent(&self) -> Option<&HeaderValue>
fn proxy(&self) -> Option<&Url>
fn get( &self, uri: &str, body: AsyncBody, follow_redirects: bool, ) -> BoxFuture<'static, Result<Response<AsyncBody>>>
fn post_json( &self, uri: &str, body: AsyncBody, ) -> BoxFuture<'static, Result<Response<AsyncBody>>>
Auto Trait Implementations§
impl Freeze for BlockedHttpClient
impl RefUnwindSafe for BlockedHttpClient
impl Send for BlockedHttpClient
impl Sync for BlockedHttpClient
impl Unpin for BlockedHttpClient
impl UnsafeUnpin for BlockedHttpClient
impl UnwindSafe for BlockedHttpClient
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