pub enum Backend {
Tokio,
AsyncIo,
}Expand description
A backend used by hyper-client-sockets to perform asynchronous I/O with sockets.
Variants§
Tokio
Available on crate feature
tokio-backend only.A backend based on Tokio.
AsyncIo
Available on crate feature
async-io-backend only.A backend based on async-io.
Trait Implementations§
impl Copy for Backend
impl Eq for Backend
impl StructuralPartialEq for Backend
Auto Trait Implementations§
impl Freeze for Backend
impl RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnwindSafe for Backend
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