pub enum Outcome {
Unsigned,
Verified,
NotListed(String),
Disagrees(String),
Failed(String),
Unreachable(String),
}Expand description
What the signed manifest said about a release file.
Variants§
Unsigned
The release publishes no signed manifest (made before signing).
Verified
Signed and valid; the file is listed with the size and hash it has.
NotListed(String)
Signed and valid, but the file isn’t listed in it.
Disagrees(String)
Signed and valid, but the file’s size or hash differ from the manifest’s.
Failed(String)
A manifest is there but doesn’t verify (or isn’t what the envelope signed).
Unreachable(String)
The signed files couldn’t be fetched (GitHub didn’t answer, an error status): nothing is known.
Trait Implementations§
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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