Struct hyper::client::connect::CaptureConnectionExtension
source · pub(crate) struct CaptureConnectionExtension {
tx: Arc<Sender<Option<Connected>>>,
}
Expand description
TxSide for CaptureConnection
This is inserted into Extensions
to allow Hyper to back channel connection info
Fields§
§tx: Arc<Sender<Option<Connected>>>
Implementations§
Trait Implementations§
source§impl Clone for CaptureConnectionExtension
impl Clone for CaptureConnectionExtension
source§fn clone(&self) -> CaptureConnectionExtension
fn clone(&self) -> CaptureConnectionExtension
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for CaptureConnectionExtension
impl RefUnwindSafe for CaptureConnectionExtension
impl Send for CaptureConnectionExtension
impl Sync for CaptureConnectionExtension
impl Unpin for CaptureConnectionExtension
impl UnwindSafe for CaptureConnectionExtension
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)