pub struct MockApiClient {}Trait Implementations§
Source§impl AsyncApiClient for MockApiClient
impl AsyncApiClient for MockApiClient
fn request<'life0, 'life1, 'async_trait, ResultType, QueryType, BodyType>(
&'life0 self,
_endpoint: &'life1 (dyn Endpoint<ResultType, QueryType, BodyType> + Send + Sync),
) -> Pin<Box<dyn Future<Output = Result<ResultType>> + Send + 'async_trait>>where
ResultType: 'async_trait,
QueryType: 'async_trait,
BodyType: 'async_trait,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for MockApiClient
impl RefUnwindSafe for MockApiClient
impl Send for MockApiClient
impl Sync for MockApiClient
impl Unpin for MockApiClient
impl UnwindSafe for MockApiClient
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