pub enum NetworkingBackend {
None,
Ureq,
Reqwest,
}
Expand description
The NetworkingBackend
defines all possible networking backends which can be used within
the crate.
Variants§
None
The None
network backend does exactly what it says: it does nothing at all
Ureq
The Ureq
backend uses the ureq
library for network requests
Reqwest
The Reqwest
backend uses the reqwest
library for network requests
Implementations§
Trait Implementations§
Source§impl PartialEq for NetworkingBackend
impl PartialEq for NetworkingBackend
impl Eq for NetworkingBackend
impl StructuralPartialEq for NetworkingBackend
Auto Trait Implementations§
impl Freeze for NetworkingBackend
impl RefUnwindSafe for NetworkingBackend
impl Send for NetworkingBackend
impl Sync for NetworkingBackend
impl Unpin for NetworkingBackend
impl UnwindSafe for NetworkingBackend
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.