enum Fallback<E> {
ToHttp2(Config, E),
Http1Only,
}
Variants§
Implementations§
Trait Implementations§
impl<E> Unpin for Fallback<E>
Auto Trait Implementations§
impl<E> Freeze for Fallback<E>where
E: Freeze,
impl<E> RefUnwindSafe for Fallback<E>where
E: RefUnwindSafe,
impl<E> Send for Fallback<E>where
E: Send,
impl<E> Sync for Fallback<E>where
E: Sync,
impl<E> UnwindSafe for Fallback<E>where
E: UnwindSafe,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)