pub enum ExecuteError {
Show 21 variants
Kernel(KernelError),
EmptyTarget,
InvalidTarget(String),
MissingNamespace(String),
MissingNamespaceBeforeContext(String),
MissingOperation(String),
MalformedContext(String),
MissingBody(&'static str),
InvalidBody(&'static str),
UnsupportedNamespace(String),
UnsupportedSelfOperation(String),
UnsupportedKernelOperation(String),
UnsupportedKernelPath {
operation: String,
path: String,
},
UnsupportedKeysOperation(String),
EmptyRecipientKeyId,
EmptyKeyId(&'static str),
KeySpaceNotFound(String),
InvalidWrappedKeyEnvelope,
NoRecipientPrivateKey(String),
SelfWriteRequiresPath,
SelfExplainRequiresPath,
}Variants§
Kernel(KernelError)
EmptyTarget
InvalidTarget(String)
MissingNamespace(String)
MissingNamespaceBeforeContext(String)
MissingOperation(String)
MalformedContext(String)
MissingBody(&'static str)
InvalidBody(&'static str)
UnsupportedNamespace(String)
UnsupportedSelfOperation(String)
UnsupportedKernelOperation(String)
UnsupportedKernelPath
UnsupportedKeysOperation(String)
EmptyRecipientKeyId
EmptyKeyId(&'static str)
KeySpaceNotFound(String)
InvalidWrappedKeyEnvelope
NoRecipientPrivateKey(String)
SelfWriteRequiresPath
SelfExplainRequiresPath
Trait Implementations§
Source§impl Clone for ExecuteError
impl Clone for ExecuteError
Source§fn clone(&self) -> ExecuteError
fn clone(&self) -> ExecuteError
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 ExecuteError
impl Debug for ExecuteError
Source§impl Display for ExecuteError
impl Display for ExecuteError
Source§impl Error for ExecuteError
impl Error for ExecuteError
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<ExecuteError> for RuntimeError
impl From<ExecuteError> for RuntimeError
Source§fn from(error: ExecuteError) -> Self
fn from(error: ExecuteError) -> Self
Converts to this type from the input type.
Source§impl From<KernelError> for ExecuteError
impl From<KernelError> for ExecuteError
Source§fn from(error: KernelError) -> Self
fn from(error: KernelError) -> Self
Converts to this type from the input type.
Source§impl From<WrappedSecretError> for ExecuteError
impl From<WrappedSecretError> for ExecuteError
Source§fn from(error: WrappedSecretError) -> Self
fn from(error: WrappedSecretError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExecuteError
impl PartialEq for ExecuteError
impl StructuralPartialEq for ExecuteError
Auto Trait Implementations§
impl Freeze for ExecuteError
impl RefUnwindSafe for ExecuteError
impl Send for ExecuteError
impl Sync for ExecuteError
impl Unpin for ExecuteError
impl UnsafeUnpin for ExecuteError
impl UnwindSafe for ExecuteError
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