pub enum OpenedError {
Attestation(AttestError),
OpeningFailed {
field: FieldId,
},
MissingField {
field: FieldId,
},
}Expand description
Typed rejection for verify_opened — fail closed, LangSec discipline
(reject, never repair; never a skipped check).
Variants§
Attestation(AttestError)
The v3 root-signature did not verify: a tampered root, a wrong suite, an unimplemented suite, or a wrong signing key (fail closed).
OpeningFailed
A field-opening did not authenticate against the signed root — a forged or corrupted field value, path, or side.
MissingField
A required header field was not disclosed by this envelope.
Trait Implementations§
Source§impl Clone for OpenedError
impl Clone for OpenedError
Source§impl Debug for OpenedError
impl Debug for OpenedError
Source§impl Display for OpenedError
impl Display for OpenedError
impl Eq for OpenedError
Source§impl PartialEq for OpenedError
impl PartialEq for OpenedError
impl StructuralPartialEq for OpenedError
Auto Trait Implementations§
impl Forget for OpenedError
impl Freeze for OpenedError
impl Move for OpenedError
impl RefUnwindSafe for OpenedError
impl Send for OpenedErrorwhere
RawVecInner: Send,
impl Sync for OpenedErrorwhere
RawVecInner: Sync,
impl Unpin for OpenedError
impl UnsafeUnpin for OpenedError
impl UnwindSafe for OpenedErrorwhere
RawVecInner: UnwindSafe,
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