pub enum ProcessActionError {
InvalidArgv {
reason: &'static str,
},
InvalidArgument {
index: usize,
reason: &'static str,
},
InvalidCwd {
reason: &'static str,
},
InvalidStdinText {
reason: &'static str,
},
InvalidOutputLimit {
field: &'static str,
reason: &'static str,
},
InvalidExecutionEvidence {
field: &'static str,
reason: &'static str,
},
InvalidTimeoutSecs {
reason: &'static str,
},
}Expand description
Validation errors for provider-neutral process action values.
Variants§
InvalidArgv
The argv vector was invalid.
InvalidArgument
One argv item was invalid.
InvalidCwd
The workspace-relative cwd was invalid.
InvalidStdinText
Inline stdin text was invalid.
InvalidOutputLimit
An output capture limit was invalid.
InvalidExecutionEvidence
Execute-time evidence was inconsistent with the validated intent.
InvalidTimeoutSecs
Foreground wait timeout was invalid.
Trait Implementations§
Source§impl Clone for ProcessActionError
impl Clone for ProcessActionError
Source§impl Debug for ProcessActionError
impl Debug for ProcessActionError
Source§impl Display for ProcessActionError
impl Display for ProcessActionError
impl Eq for ProcessActionError
Source§impl Error for ProcessActionError
impl Error for ProcessActionError
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 From<ProcessActionError> for ActionProposalError
impl From<ProcessActionError> for ActionProposalError
Source§fn from(source: ProcessActionError) -> Self
fn from(source: ProcessActionError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProcessActionError
impl PartialEq for ProcessActionError
impl StructuralPartialEq for ProcessActionError
Auto Trait Implementations§
impl Forget for ProcessActionError
impl Freeze for ProcessActionError
impl Move for ProcessActionError
impl RefUnwindSafe for ProcessActionError
impl Send for ProcessActionError
impl Sync for ProcessActionError
impl Unpin for ProcessActionError
impl UnsafeUnpin for ProcessActionError
impl UnwindSafe for ProcessActionError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.