Struct cyper_core::Connector
source · pub struct Connector { /* private fields */ }Expand description
An HTTP connector service.
It panics when called in a different thread other than the thread creates it.
Implementations§
Trait Implementations§
source§impl Service<Uri> for Connector
impl Service<Uri> for Connector
§type Future = Pin<Box<dyn Future<Output = Result<<Connector as Service<Uri>>::Response, Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<Connector as Service<Uri>>::Response, Error>> + Send>>
The future response value.
§type Response = HttpStream
type Response = HttpStream
Responses given by the service.
Auto Trait Implementations§
impl RefUnwindSafe for Connector
impl Send for Connector
impl Sync for Connector
impl Unpin for Connector
impl UnwindSafe for Connector
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