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 proxy(&self) -> Option<&Url>
fn type_name(&self) -> &'static str
fn get<'a>( &'a self, uri: &str, body: AsyncBody, follow_redirects: bool, ) -> BoxFuture<'a, Result<Response<AsyncBody>>>
fn post_json<'a>( &'a self, uri: &str, body: AsyncBody, ) -> BoxFuture<'a, 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 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