Enum tugger_code_signing::SignableCandidate [−][src]
Expand description
Represents an entity that is a candidate for signing.
Most users will want to use Self::Path or Self::Data, which will go through signability checks and only turn into signable entities if we have a high degree of confidence that they can be signed.
The Self::Forced variant can be used to forcefully skip signability validation and supply your own Signability. Use this when our signability heuristics fail (please consider reporting these scenarios as bugs!). This variant is also useful for testing.
Variants
A filesystem path.
Will be checked for signability.
A slice of data in memory.
Will be checked for signability.
Forced(Signable)Entity whose Signable is already computed.
Tuple Fields of Forced
0: SignableTrait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for SignableCandidate<'a>
impl<'a> Send for SignableCandidate<'a>
impl<'a> Sync for SignableCandidate<'a>
impl<'a> Unpin for SignableCandidate<'a>
impl<'a> UnwindSafe for SignableCandidate<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more