pub enum VerifyCommandError {
UnknownPayloadType(String),
Signature(VerifyError),
PayloadParse(String),
}Variants§
UnknownPayloadType(String)
payloadType on the envelope is not a known command type.
Signature(VerifyError)
Signature verification against the authorized key set failed.
PayloadParse(String)
Payload bytes did not deserialize into the expected struct.
Trait Implementations§
Source§impl Debug for VerifyCommandError
impl Debug for VerifyCommandError
Source§impl Display for VerifyCommandError
impl Display for VerifyCommandError
Source§impl Error for VerifyCommandError
impl Error for VerifyCommandError
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()
Auto Trait Implementations§
impl Freeze for VerifyCommandError
impl RefUnwindSafe for VerifyCommandError
impl Send for VerifyCommandError
impl Sync for VerifyCommandError
impl Unpin for VerifyCommandError
impl UnsafeUnpin for VerifyCommandError
impl UnwindSafe for VerifyCommandError
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