pub struct Request<S, Req> { /* private fields */ }
Expand description
Object that contains the current state of a query.
Trait Implementations§
source§impl<S, Req> GetResponse for Request<S, Req>where
S: AsyncConnect + Clone + Debug + Send + Sync + 'static,
S::Connection: AsyncDgramRecv + AsyncDgramSend + Send + Sync + Unpin,
Req: ComposeRequest + Clone + 'static,
impl<S, Req> GetResponse for Request<S, Req>where
S: AsyncConnect + Clone + Debug + Send + Sync + 'static,
S::Connection: AsyncDgramRecv + AsyncDgramSend + Send + Sync + Unpin,
Req: ComposeRequest + Clone + 'static,
Auto Trait Implementations§
impl<S, Req> Freeze for Request<S, Req>where
Req: Freeze,
impl<S, Req> !RefUnwindSafe for Request<S, Req>
impl<S, Req> Send for Request<S, Req>
impl<S, Req> Sync for Request<S, Req>
impl<S, Req> Unpin for Request<S, Req>where
Req: Unpin,
impl<S, Req> !UnwindSafe for Request<S, Req>
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<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
source§fn try_octets_into(
self,
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
source§fn octets_into(self) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.