pub struct Http<T: Specifier>(pub T, pub Uri);
Expand description
Inner peer is a TCP peer configured to this host
Tuple Fields§
§0: T
§1: Uri
Trait Implementations§
source§impl<T: Specifier> Specifier for Http<T>
impl<T: Specifier> Specifier for Http<T>
source§fn construct(&self, cp: ConstructParams) -> PeerConstructor
fn construct(&self, cp: ConstructParams) -> PeerConstructor
Apply the specifier for constructing a “socket” or other connecting device.
fn uses_global_state(&self) -> bool
fn is_multiconnect(&self) -> bool
Auto Trait Implementations§
impl<T> !Freeze for Http<T>
impl<T> RefUnwindSafe for Http<T>where
T: RefUnwindSafe,
impl<T> Send for Http<T>where
T: Send,
impl<T> Sync for Http<T>where
T: Sync,
impl<T> Unpin for Http<T>where
T: Unpin,
impl<T> UnwindSafe for Http<T>where
T: UnwindSafe,
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