pub enum LocalCheckError {
CommandNotInstalled,
ResourceUnavailable(String),
InvalidContract(String),
Operation(OperationError),
}Expand description
Typed refusal from command admission, execution composition, or durable operation handling.
Variants§
CommandNotInstalled
The request names no exact installed command.
A command resource has no boot-authorized native root.
InvalidContract(String)
A command contract is inconsistent with its selected execution route.
Operation(OperationError)
The durable operation lifecycle refused or could not persist the request.
Trait Implementations§
Source§impl Debug for LocalCheckError
impl Debug for LocalCheckError
Source§impl Display for LocalCheckError
impl Display for LocalCheckError
Source§impl Error for LocalCheckError
impl Error for LocalCheckError
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<OperationError> for LocalCheckError
impl From<OperationError> for LocalCheckError
Source§fn from(source: OperationError) -> Self
fn from(source: OperationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LocalCheckError
impl RefUnwindSafe for LocalCheckError
impl Send for LocalCheckError
impl Sync for LocalCheckError
impl Unpin for LocalCheckError
impl UnsafeUnpin for LocalCheckError
impl UnwindSafe for LocalCheckError
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