pub enum ChildSpecError {
EmptyArgv,
EmptyProgram,
EmptyEnvKey,
EnvKeyContainsSeparator,
Unrepresentable {
what: &'static str,
},
}Expand description
Why a set of process arguments is not a program the operating system can run.
Variants§
EmptyArgv
The argv had no elements, so there was no program to run.
EmptyProgram
The program name was empty.
EmptyEnvKey
An environment key was empty.
EnvKeyContainsSeparator
An environment key contained =, which is the separator a key may not
contain.
Unrepresentable
A value contained a NUL, which terminates the string before the kernel ever sees it.
Trait Implementations§
Source§impl Clone for ChildSpecError
impl Clone for ChildSpecError
Source§impl Debug for ChildSpecError
impl Debug for ChildSpecError
Source§impl Display for ChildSpecError
impl Display for ChildSpecError
impl Eq for ChildSpecError
Source§impl Error for ChildSpecError
impl Error for ChildSpecError
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 ChildSpecError
impl PartialEq for ChildSpecError
impl StructuralPartialEq for ChildSpecError
Auto Trait Implementations§
impl Freeze for ChildSpecError
impl RefUnwindSafe for ChildSpecError
impl Send for ChildSpecError
impl Sync for ChildSpecError
impl Unpin for ChildSpecError
impl UnsafeUnpin for ChildSpecError
impl UnwindSafe for ChildSpecError
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