Enum tugger_code_signing::SignableCandidate [−][src]
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.
Trait Implementations
impl<'a> From<&'a Path> for SignableCandidate<'a>
[src]
impl<'a> From<&'a Path> for SignableCandidate<'a>
[src]impl<'a> From<PathBuf> for SignableCandidate<'static>
[src]
impl<'a> From<PathBuf> for SignableCandidate<'static>
[src]impl<'a> TryFrom<&'_ File> for SignableCandidate<'static>
[src]
impl<'a> TryFrom<&'_ File> for SignableCandidate<'static>
[src]impl<'a> TryFrom<&'_ FileData> for SignableCandidate<'static>
[src]
impl<'a> TryFrom<&'_ FileData> for SignableCandidate<'static>
[src]impl<'a> TryFrom<&'_ FileEntry> for SignableCandidate<'static>
[src]
impl<'a> TryFrom<&'_ FileEntry> for SignableCandidate<'static>
[src]impl<'a> TryFrom<File> for SignableCandidate<'static>
[src]
impl<'a> TryFrom<File> for SignableCandidate<'static>
[src]impl<'a> TryFrom<FileData> for SignableCandidate<'static>
[src]
impl<'a> TryFrom<FileData> for SignableCandidate<'static>
[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,