Struct websocat::http_peer::HttpRequest
source · pub struct HttpRequest<T: Specifier>(pub T);
Tuple Fields§
§0: T
Trait Implementations§
source§impl<T: Specifier> Specifier for HttpRequest<T>
impl<T: Specifier> Specifier for HttpRequest<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 HttpRequest<T>where
T: Freeze,
impl<T> RefUnwindSafe for HttpRequest<T>where
T: RefUnwindSafe,
impl<T> Send for HttpRequest<T>where
T: Send,
impl<T> Sync for HttpRequest<T>where
T: Sync,
impl<T> Unpin for HttpRequest<T>where
T: Unpin,
impl<T> UnwindSafe for HttpRequest<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