pub enum ExecutorCommand {
NoAction,
Stop,
NewTask,
}
Variants
NoAction
Stop
NewTask
Trait Implementations
sourceimpl Clone for ExecutorCommand
impl Clone for ExecutorCommand
sourcefn clone(&self) -> ExecutorCommand
fn clone(&self) -> ExecutorCommand
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ExecutorCommand
impl Debug for ExecutorCommand
sourceimpl Default for ExecutorCommand
impl Default for ExecutorCommand
sourceimpl From<ExecutorCommand> for ExecutorCommand
impl From<ExecutorCommand> for ExecutorCommand
sourcefn from(command: ExecutorCommand) -> Self
fn from(command: ExecutorCommand) -> Self
Converts to this type from the input type.
sourceimpl From<ExecutorCommand> for i32
impl From<ExecutorCommand> for i32
sourcefn from(command: ExecutorCommand) -> Self
fn from(command: ExecutorCommand) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ExecutorCommand> for ExecutorCommand
impl PartialEq<ExecutorCommand> for ExecutorCommand
sourcefn eq(&self, other: &ExecutorCommand) -> bool
fn eq(&self, other: &ExecutorCommand) -> bool
sourceimpl TryFrom<ExecutorCommand> for ExecutorCommand
impl TryFrom<ExecutorCommand> for ExecutorCommand
sourceimpl TryFrom<i32> for ExecutorCommand
impl TryFrom<i32> for ExecutorCommand
impl Eq for ExecutorCommand
impl StructuralEq for ExecutorCommand
impl StructuralPartialEq for ExecutorCommand
Auto Trait Implementations
impl RefUnwindSafe for ExecutorCommand
impl Send for ExecutorCommand
impl Sync for ExecutorCommand
impl Unpin for ExecutorCommand
impl UnwindSafe for ExecutorCommand
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more