pub enum Exec {
Default,
Executor(Arc<dyn Executor<Pin<Box<dyn Future<Output = ()> + Send>>> + Send + Sync>),
}
Variants§
Implementations§
Trait Implementations§
source§impl<F, B> ConnStreamExec<F, B> for Exec
impl<F, B> ConnStreamExec<F, B> for Exec
fn execute_h2stream(&mut self, fut: H2Stream<F, B>)
source§impl<I, N, S, E, W> NewSvcExec<I, N, S, E, W> for Execwhere
NewSvcTask<I, N, S, E, W>: Future<Output = ()> + Send + 'static,
S: HttpService<Body>,
W: Watcher<I, S, E>,
impl<I, N, S, E, W> NewSvcExec<I, N, S, E, W> for Execwhere
NewSvcTask<I, N, S, E, W>: Future<Output = ()> + Send + 'static,
S: HttpService<Body>,
W: Watcher<I, S, E>,
fn execute_new_svc(&mut self, fut: NewSvcTask<I, N, S, E, W>)
Auto Trait Implementations§
impl Freeze for Exec
impl !RefUnwindSafe for Exec
impl Send for Exec
impl Sync for Exec
impl Unpin for Exec
impl !UnwindSafe for Exec
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
)