pub struct EchoReason {
pub kind: &'static str,
pub reason: String,
pub path: Option<String>,
}Expand description
Why the echo path was taken. Mirrors the five signing-related
ZadError variants. kind is a stable string tag callers may
switch on; reason is the user-facing message; path is the
permissions (or trust store) file the operator should fix.
Fields§
§kind: &'static str§reason: String§path: Option<String>Trait Implementations§
Source§impl Clone for EchoReason
impl Clone for EchoReason
Source§impl Debug for EchoReason
impl Debug for EchoReason
Auto Trait Implementations§
impl Freeze for EchoReason
impl RefUnwindSafe for EchoReason
impl Send for EchoReason
impl Sync for EchoReason
impl Unpin for EchoReason
impl UnsafeUnpin for EchoReason
impl UnwindSafe for EchoReason
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