pub enum SubmitError {
UnknownCapability(String),
NotExecutable(String),
InvalidInput(String),
Unavailable(String),
}Expand description
Why an execution was not accepted. Refused before anything is created, so a client that is told no knows nothing started.
Variants§
UnknownCapability(String)
No capability of that id.
NotExecutable(String)
A resource is read, not executed; a planned or unsupported capability is listed and never run.
InvalidInput(String)
The input does not satisfy the capability’s input schema.
The engine is stopping and accepts nothing further.
Implementations§
Trait Implementations§
Source§impl Clone for SubmitError
impl Clone for SubmitError
Source§fn clone(&self) -> SubmitError
fn clone(&self) -> SubmitError
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 SubmitError
impl Debug for SubmitError
Source§impl Display for SubmitError
impl Display for SubmitError
impl Eq for SubmitError
Source§impl Error for SubmitError
impl Error for SubmitError
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 SubmitError
impl PartialEq for SubmitError
Source§fn eq(&self, other: &SubmitError) -> bool
fn eq(&self, other: &SubmitError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubmitError
Auto Trait Implementations§
impl Freeze for SubmitError
impl RefUnwindSafe for SubmitError
impl Send for SubmitError
impl Sync for SubmitError
impl Unpin for SubmitError
impl UnsafeUnpin for SubmitError
impl UnwindSafe for SubmitError
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.