pub enum MurkError {
Vault(VaultError),
Crypto(CryptoError),
Integrity(String),
Key(String),
Recipient(String),
Secret(String),
Group(String),
Grant(String),
Policy(String),
GitHub(GitHubError),
Io(Error),
}Expand description
Top-level error type for murk operations.
Variants§
Vault(VaultError)
Vault file I/O or parsing.
Crypto(CryptoError)
Cryptographic operation (encrypt/decrypt/key parse).
Integrity(String)
Integrity check failed (MAC mismatch, tampering).
Key(String)
Key resolution or environment configuration.
Recipient(String)
Recipient management (authorize, revoke).
Secret(String)
Secret management (add, remove, describe).
Group(String)
Recipient group management (create, add/remove member, assign).
Grant(String)
Agent grant management (grant, revoke, list).
Policy(String)
Agent access policy violation or management error.
GitHub(GitHubError)
GitHub key fetch.
Io(Error)
General I/O.
Trait Implementations§
Source§impl Error for MurkError
impl Error for MurkError
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<CryptoError> for MurkError
impl From<CryptoError> for MurkError
Source§fn from(e: CryptoError) -> Self
fn from(e: CryptoError) -> Self
Converts to this type from the input type.
Source§impl From<GitHubError> for MurkError
impl From<GitHubError> for MurkError
Source§fn from(e: GitHubError) -> Self
fn from(e: GitHubError) -> Self
Converts to this type from the input type.
Source§impl From<VaultError> for MurkError
impl From<VaultError> for MurkError
Source§fn from(e: VaultError) -> Self
fn from(e: VaultError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for MurkError
impl !UnwindSafe for MurkError
impl Freeze for MurkError
impl Send for MurkError
impl Sync for MurkError
impl Unpin for MurkError
impl UnsafeUnpin for MurkError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more