pub struct DefaultProvider { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for DefaultProvider
impl Clone for DefaultProvider
Source§fn clone(&self) -> DefaultProvider
fn clone(&self) -> DefaultProvider
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DefaultProvider
impl Debug for DefaultProvider
Source§impl Default for DefaultProvider
impl Default for DefaultProvider
Source§fn default() -> DefaultProvider
fn default() -> DefaultProvider
Returns the “default value” for a type. Read more
Source§impl Provider for DefaultProvider
impl Provider for DefaultProvider
fn get<'life0, 'async_trait>(
&'life0 self,
path: String,
) -> Pin<Box<dyn Future<Output = Result<String, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn post<'life0, 'async_trait>(
&'life0 self,
path: String,
body: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<String, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for DefaultProvider
impl !RefUnwindSafe for DefaultProvider
impl Send for DefaultProvider
impl Sync for DefaultProvider
impl Unpin for DefaultProvider
impl !UnwindSafe for DefaultProvider
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