Struct elfo_core::RequestBuilder
source · [−]pub struct RequestBuilder<'c, C, K, S, R, M> { /* private fields */ }
Implementations
sourceimpl<'c, C, K, S, R> RequestBuilder<'c, C, K, S, R, Any>
impl<'c, C, K, S, R> RequestBuilder<'c, C, K, S, R, Any>
pub fn all(self) -> RequestBuilder<'c, C, K, S, R, All>
sourceimpl<'c, C: 'static, K, S, R: Request> RequestBuilder<'c, C, S, K, R, Any>
impl<'c, C: 'static, K, S, R: Request> RequestBuilder<'c, C, S, K, R, Any>
sourcepub async fn resolve(self) -> Result<R::Response, RequestError<R>>
pub async fn resolve(self) -> Result<R::Response, RequestError<R>>
Waits for the response.
sourceimpl<'c, C: 'static, K, S, R: Request> RequestBuilder<'c, C, K, S, R, All>
impl<'c, C: 'static, K, S, R: Request> RequestBuilder<'c, C, K, S, R, All>
sourceimpl<'c, C: 'static, K, S, R: Request> RequestBuilder<'c, C, S, K, R, Forgotten>
impl<'c, C: 'static, K, S, R: Request> RequestBuilder<'c, C, S, K, R, Forgotten>
pub async fn resolve(self) -> Result<R::Response, RequestError<R>>
Auto Trait Implementations
impl<'c, C, K, S, R, M> !RefUnwindSafe for RequestBuilder<'c, C, K, S, R, M>
impl<'c, C, K, S, R, M> Send for RequestBuilder<'c, C, K, S, R, M> where
C: Send + Sync,
K: Sync,
M: Send,
R: Send,
S: Sync,
impl<'c, C, K, S, R, M> Sync for RequestBuilder<'c, C, K, S, R, M> where
C: Send + Sync,
K: Sync,
M: Sync,
R: Sync,
S: Sync,
impl<'c, C, K, S, R, M> Unpin for RequestBuilder<'c, C, K, S, R, M> where
M: Unpin,
R: Unpin,
impl<'c, C, K, S, R, M> !UnwindSafe for RequestBuilder<'c, C, K, S, R, M>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more