pub enum ControlCommandError {
TerminateAllTasks {
reason: String,
},
TerminateTask {
task_name: String,
reason: String,
},
SendStdin {
task_name: String,
input: String,
reason: SendStdinErrorReason,
},
}
Variants§
Trait Implementations§
Source§impl Clone for ControlCommandError
impl Clone for ControlCommandError
Source§fn clone(&self) -> ControlCommandError
fn clone(&self) -> ControlCommandError
Returns a duplicate 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 ControlCommandError
impl Debug for ControlCommandError
Source§impl Display for ControlCommandError
impl Display for ControlCommandError
Source§impl Error for ControlCommandError
impl Error for ControlCommandError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for ControlCommandError
impl PartialEq for ControlCommandError
impl StructuralPartialEq for ControlCommandError
Auto Trait Implementations§
impl Freeze for ControlCommandError
impl RefUnwindSafe for ControlCommandError
impl Send for ControlCommandError
impl Sync for ControlCommandError
impl Unpin for ControlCommandError
impl UnwindSafe for ControlCommandError
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