Struct elfo_core::RequestBuilder
source · pub struct RequestBuilder<'c, C, K, R, M> { /* private fields */ }
Implementations§
source§impl<'c, C, K, R> RequestBuilder<'c, C, K, R, Any>
impl<'c, C, K, R> RequestBuilder<'c, C, K, R, Any>
pub fn all(self) -> RequestBuilder<'c, C, K, R, All>
source§impl<'c, C: 'static, K, R: Request> RequestBuilder<'c, C, K, R, Any>
impl<'c, C: 'static, K, R: Request> RequestBuilder<'c, C, K, R, Any>
sourcepub async fn resolve(self) -> Result<R::Response, RequestError>
pub async fn resolve(self) -> Result<R::Response, RequestError>
Waits for the response.
source§impl<'c, C: 'static, K, R: Request> RequestBuilder<'c, C, K, R, All>
impl<'c, C: 'static, K, R: Request> RequestBuilder<'c, C, K, R, All>
Auto Trait Implementations§
impl<'c, C, K, R, M> Freeze for RequestBuilder<'c, C, K, R, M>where
R: Freeze,
impl<'c, C, K, R, M> !RefUnwindSafe for RequestBuilder<'c, C, K, R, M>
impl<'c, C, K, R, M> Send for RequestBuilder<'c, C, K, R, M>
impl<'c, C, K, R, M> Sync for RequestBuilder<'c, C, K, R, M>
impl<'c, C, K, R, M> Unpin for RequestBuilder<'c, C, K, R, M>
impl<'c, C, K, R, M> !UnwindSafe for RequestBuilder<'c, C, K, R, M>
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