pub struct Tokio;
Expand description
Tokio provider for the Gateway
.
Trait Implementations§
source§impl Provider for Tokio
impl Provider for Tokio
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 Tokio
impl Send for Tokio
impl Sync for Tokio
impl Unpin for Tokio
impl UnwindSafe for Tokio
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