Enum cros_async::executor::ExecutorKind
source · pub enum ExecutorKind {
SysVariants(ExecutorKindSys),
Tokio,
}
Variants§
SysVariants(ExecutorKindSys)
Tokio
Trait Implementations§
source§impl Clone for ExecutorKind
impl Clone for ExecutorKind
source§fn clone(&self) -> ExecutorKind
fn clone(&self) -> ExecutorKind
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 ExecutorKind
impl Debug for ExecutorKind
source§impl Default for ExecutorKind
impl Default for ExecutorKind
source§impl<'de> Deserialize<'de> for ExecutorKind
impl<'de> Deserialize<'de> for ExecutorKind
source§fn deserialize<D>(deserializer: D) -> Result<ExecutorKind, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<ExecutorKind, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ExecutorKindSys> for ExecutorKind
impl From<ExecutorKindSys> for ExecutorKind
source§fn from(e: ExecutorKindSys) -> ExecutorKind
fn from(e: ExecutorKindSys) -> ExecutorKind
Converts to this type from the input type.
source§impl FromArgValue for ExecutorKind
impl FromArgValue for ExecutorKind
source§fn from_arg_value(value: &str) -> Result<ExecutorKind, String>
fn from_arg_value(value: &str) -> Result<ExecutorKind, String>
Construct the type from a commandline value, returning an error string
on failure.
source§impl PartialEq for ExecutorKind
impl PartialEq for ExecutorKind
source§fn eq(&self, other: &ExecutorKind) -> bool
fn eq(&self, other: &ExecutorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExecutorKind
impl Serialize for ExecutorKind
impl Copy for ExecutorKind
impl Eq for ExecutorKind
impl StructuralPartialEq for ExecutorKind
Auto Trait Implementations§
impl RefUnwindSafe for ExecutorKind
impl Send for ExecutorKind
impl Sync for ExecutorKind
impl Unpin for ExecutorKind
impl UnwindSafe for ExecutorKind
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