pub struct NoopHttpSend;Expand description
NoopHttpSend is a no-op implementation that always returns an error.
This is used when no HTTP client is configured.
Trait Implementations§
Source§impl Clone for NoopHttpSend
impl Clone for NoopHttpSend
Source§fn clone(&self) -> NoopHttpSend
fn clone(&self) -> NoopHttpSend
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NoopHttpSend
impl Debug for NoopHttpSend
Source§impl Default for NoopHttpSend
impl Default for NoopHttpSend
Source§fn default() -> NoopHttpSend
fn default() -> NoopHttpSend
Returns the “default value” for a type. Read more
Source§impl HttpSend for NoopHttpSend
impl HttpSend for NoopHttpSend
impl Copy for NoopHttpSend
Auto Trait Implementations§
impl Freeze for NoopHttpSend
impl RefUnwindSafe for NoopHttpSend
impl Send for NoopHttpSend
impl Sync for NoopHttpSend
impl Unpin for NoopHttpSend
impl UnwindSafe for NoopHttpSend
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