pub struct HttpBackend { /* private fields */ }Expand description
Production backend using reqwest.
Implementations§
Source§impl HttpBackend
impl HttpBackend
Trait Implementations§
Source§impl Default for HttpBackend
impl Default for HttpBackend
Source§impl ProviderBackend for HttpBackend
impl ProviderBackend for HttpBackend
fn send<'life0, 'async_trait>(
&'life0 self,
request: ProviderRequest,
) -> Pin<Box<dyn Future<Output = Result<ProviderResponse, SynapticError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_stream<'life0, 'async_trait>(
&'life0 self,
request: ProviderRequest,
) -> Pin<Box<dyn Future<Output = Result<ByteStream, SynapticError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for HttpBackend
impl !UnwindSafe for HttpBackend
impl Freeze for HttpBackend
impl Send for HttpBackend
impl Sync for HttpBackend
impl Unpin for HttpBackend
impl UnsafeUnpin for HttpBackend
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