Struct dragonfly_client_backend::http::HTTP
source · pub struct HTTP;
Implementations§
Trait Implementations§
source§impl Backend for HTTP
impl Backend for HTTP
fn head<'life0, 'async_trait>(
&'life0 self,
request: HeadRequest
) -> Pin<Box<dyn Future<Output = Result<HeadResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get<'life0, 'async_trait>(
&'life0 self,
request: GetRequest
) -> Pin<Box<dyn Future<Output = Result<GetResponse<Body>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for HTTP
impl RefUnwindSafe for HTTP
impl Send for HTTP
impl Sync for HTTP
impl Unpin for HTTP
impl UnwindSafe for HTTP
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request