pub enum LineStatusError {
Envelope(String),
Sign(String),
Payload(String),
LineMismatch {
expected: String,
got: String,
},
Stale {
line: String,
presented: u64,
cached: u64,
},
DeadReference {
what: String,
id: String,
line: String,
reason: String,
},
NotALayout {
layout: String,
},
Io {
path: String,
source: Error,
},
}Variants§
Envelope(String)
The DSSE envelope failed verification or was malformed. Carries the
verifier’s reason verbatim — but under a line-status heading, because
the old #[error(transparent)] route surfaced these as “manifest
signature verification failed”, sending the reader to the wrong
document entirely (varve#60).
Sign(String)
Payload(String)
LineMismatch
Stale
DeadReference
An advisory entry that can never fire (varve#61): varve status
matches affected ids and yank keys against installed layer ids
EXACTLY, so a typo’d id signs fine and then warns nobody. Refused on
the producing side, where the fix (re-sign) is still cheap.
NotALayout
Io
Trait Implementations§
Source§impl Debug for LineStatusError
impl Debug for LineStatusError
Source§impl Display for LineStatusError
impl Display for LineStatusError
Source§impl Error for LineStatusError
impl Error for LineStatusError
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 !RefUnwindSafe for LineStatusError
impl !UnwindSafe for LineStatusError
impl Freeze for LineStatusError
impl Send for LineStatusError
impl Sync for LineStatusError
impl Unpin for LineStatusError
impl UnsafeUnpin for LineStatusError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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