pub struct HttpConnector;
Expand description
A connector that will produce HttpStreams.
Trait Implementations
sourceimpl Clone for HttpConnector
impl Clone for HttpConnector
sourcefn clone(&self) -> HttpConnector
fn clone(&self) -> HttpConnector
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HttpConnector
impl Debug for HttpConnector
sourceimpl Default for HttpConnector
impl Default for HttpConnector
sourcefn default() -> HttpConnector
fn default() -> HttpConnector
Returns the “default value” for a type. Read more
sourceimpl NetworkConnector for HttpConnector
impl NetworkConnector for HttpConnector
type Stream = HttpStream
type Stream = HttpStream
Type of Stream
to create
Auto Trait Implementations
impl RefUnwindSafe for HttpConnector
impl Send for HttpConnector
impl Sync for HttpConnector
impl Unpin for HttpConnector
impl UnwindSafe for HttpConnector
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
sourcefn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where
F: FnMut(T) -> U,
A: Array<Item = U>,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more