Enum ezcmd::SpawnAndWaitErrorKind
source · pub enum SpawnAndWaitErrorKind {
Spawn {
source: Error,
},
WaitForExitCode {
source: Error,
},
}
Expand description
The specific error case encountered with EasyCommand::spawn_and_wait
.
Variants§
Trait Implementations§
source§impl Debug for SpawnAndWaitErrorKind
impl Debug for SpawnAndWaitErrorKind
source§impl Display for SpawnAndWaitErrorKind
impl Display for SpawnAndWaitErrorKind
source§impl Error for SpawnAndWaitErrorKind
impl Error for SpawnAndWaitErrorKind
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<SpawnAndWaitErrorKind> for RunErrorKind
impl From<SpawnAndWaitErrorKind> for RunErrorKind
source§fn from(source: SpawnAndWaitErrorKind) -> Self
fn from(source: SpawnAndWaitErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SpawnAndWaitErrorKind
impl Send for SpawnAndWaitErrorKind
impl Sync for SpawnAndWaitErrorKind
impl Unpin for SpawnAndWaitErrorKind
impl !UnwindSafe for SpawnAndWaitErrorKind
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