pub struct AsyncStd;
Expand description
Async-std provider for the Gateway
.
Trait Implementations§
source§impl Provider for AsyncStd
impl Provider for AsyncStd
source§fn send_async<'life0, 'life1, 'life2, 'async_trait>(
url: &'life0 str,
action: &'life1 str,
body: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<String, RequestError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn send_async<'life0, 'life1, 'life2, 'async_trait>(
url: &'life0 str,
action: &'life1 str,
body: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<String, RequestError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Send an async request over the executor.
Auto Trait Implementations§
impl RefUnwindSafe for AsyncStd
impl Send for AsyncStd
impl Sync for AsyncStd
impl Unpin for AsyncStd
impl UnwindSafe for AsyncStd
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