pub struct CompioExecutor;Expand description
An executor service based on compio::runtime. It uses
compio::runtime::spawn interally.
Trait Implementations§
source§impl Clone for CompioExecutor
impl Clone for CompioExecutor
source§fn clone(&self) -> CompioExecutor
fn clone(&self) -> CompioExecutor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CompioExecutor
impl Debug for CompioExecutor
source§impl Default for CompioExecutor
impl Default for CompioExecutor
source§fn default() -> CompioExecutor
fn default() -> CompioExecutor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompioExecutor
impl RefUnwindSafe for CompioExecutor
impl Send for CompioExecutor
impl Sync for CompioExecutor
impl Unpin for CompioExecutor
impl UnwindSafe for CompioExecutor
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)source§impl<E, B, T> Http2ClientConnExec<B, T> for E
impl<E, B, T> Http2ClientConnExec<B, T> for E
fn execute_h2_future(&mut self, future: H2ClientFuture<B, T>)
source§impl<E, F, B> Http2ServerConnExec<F, B> for E
impl<E, F, B> Http2ServerConnExec<F, B> for E
fn execute_h2stream(&mut self, fut: H2Stream<F, B>)
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more