pub enum Unverifiable {
TickedWithoutEvidence,
Missing,
Malformed,
BadSignature,
Mismatch,
UntrustedSigner,
Unsigned,
CommitUnreachable,
ToolMissing,
}Expand description
Why a tick’s evidence does not verify.
Variants§
TickedWithoutEvidence
No commit carries the task’s verdict (ticked by hand).
Missing
The task commit has no attestation note.
Malformed
A line of the note does not parse, or the predicate is not v0.
BadSignature
A signature does not verify.
Mismatch
A statement disagrees with the commit, its trailers, the task line or the bundle.
UntrustedSigner
Signed by a key the verifier does not trust.
Unsigned
Not signed (unverifiable unless the caller accepts unsigned ticks).
CommitUnreachable
The commit the evidence names is not reachable from the head (a squash or rebase merge).
ToolMissing
The signature’s tool (ssh-keygen, gpg, cosign) cannot run.
Implementations§
Source§impl Unverifiable
impl Unverifiable
Trait Implementations§
Source§impl Clone for Unverifiable
impl Clone for Unverifiable
impl Copy for Unverifiable
Source§impl Debug for Unverifiable
impl Debug for Unverifiable
impl Eq for Unverifiable
Source§impl JsonSchema for Unverifiable
impl JsonSchema for Unverifiable
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for Unverifiable
impl PartialEq for Unverifiable
Source§impl Serialize for Unverifiable
impl Serialize for Unverifiable
impl StructuralPartialEq for Unverifiable
Auto Trait Implementations§
impl Freeze for Unverifiable
impl RefUnwindSafe for Unverifiable
impl Send for Unverifiable
impl Sync for Unverifiable
impl Unpin for Unverifiable
impl UnsafeUnpin for Unverifiable
impl UnwindSafe for Unverifiable
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