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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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§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