pub enum RemoteCommandError {
Invalid {
detail: String,
},
Spawn {
message: String,
},
ArgvTooLarge {
bytes: usize,
},
MissingPython {
diagnostics: String,
},
Launch {
diagnostics: String,
},
Supervisor {
stage: String,
diagnostics: String,
},
Transport {
exit: Option<i32>,
diagnostics: String,
},
Cancelled {
diagnostics: String,
},
Timeout {
seconds: u64,
},
Local {
message: String,
},
}Expand description
Why a remote command could not be admitted, spawned, supervised or completed. Every variant is descriptive; none guesses success.
Variants§
Trait Implementations§
Source§impl Clone for RemoteCommandError
impl Clone for RemoteCommandError
Source§fn clone(&self) -> RemoteCommandError
fn clone(&self) -> RemoteCommandError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RemoteCommandError
impl Debug for RemoteCommandError
Source§impl Display for RemoteCommandError
impl Display for RemoteCommandError
impl Eq for RemoteCommandError
Source§impl Error for RemoteCommandError
impl Error for RemoteCommandError
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 RemoteCommandError
impl PartialEq for RemoteCommandError
impl StructuralPartialEq for RemoteCommandError
Auto Trait Implementations§
impl Freeze for RemoteCommandError
impl RefUnwindSafe for RemoteCommandError
impl Send for RemoteCommandError
impl Sync for RemoteCommandError
impl Unpin for RemoteCommandError
impl UnsafeUnpin for RemoteCommandError
impl UnwindSafe for RemoteCommandError
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