pub enum InvalidInvocation {
ExecutablePath,
WorkingDirectory,
Deadline,
VersionIdentity,
Argument {
index: usize,
},
EnvironmentName {
index: usize,
},
EnvironmentValue {
index: usize,
},
}Expand description
An invalid invocation was rejected before a child was spawned.
Variants§
ExecutablePath
Tool paths must be absolute.
WorkingDirectory
Working directories must be absolute.
Deadline
Deadlines must be positive and representable by the host clock.
VersionIdentity
Version identity must be nonempty and already trimmed.
Argument
An argument contains a NUL byte.
EnvironmentName
An environment name is empty, contains =/NUL, or duplicates an earlier name.
EnvironmentValue
An environment value contains a NUL byte.
Trait Implementations§
Source§impl Clone for InvalidInvocation
impl Clone for InvalidInvocation
impl Copy for InvalidInvocation
Source§impl Debug for InvalidInvocation
impl Debug for InvalidInvocation
impl Eq for InvalidInvocation
Source§impl PartialEq for InvalidInvocation
impl PartialEq for InvalidInvocation
impl StructuralPartialEq for InvalidInvocation
Auto Trait Implementations§
impl Freeze for InvalidInvocation
impl RefUnwindSafe for InvalidInvocation
impl Send for InvalidInvocation
impl Sync for InvalidInvocation
impl Unpin for InvalidInvocation
impl UnsafeUnpin for InvalidInvocation
impl UnwindSafe for InvalidInvocation
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