Enum tugger_code_signing::Signable [−][src]
pub enum Signable { WindowsFile(PathBuf), WindowsData(Vec<u8>), MachOFile(PathBuf, Vec<u8>), MachOData(Vec<u8>), AppleBundle(PathBuf), }
Represents a known, typed entity which is signable.
Variants
WindowsFile(PathBuf)
A file that is signable on Windows.
Data that is signable on Windows.
TODO store a Cow.
A signable Mach-O file.
We have to obtain the Mach-O data as part of evaluating whether it is signable. So we keep a reference to it to avoid a re-read later.
Signable Mach-O data.
AppleBundle(PathBuf)
An Apple bundle, persisted on the filesystem as a directory.
Implementations
impl Signable
[src]
impl Signable
[src]pub fn signing_methods(&self) -> SigningMethods
[src]
Obtain signing methods that are supported.
pub fn is_signable(&self) -> bool
[src]
Whether we are capable of signing.
pub fn source_file(&self) -> Option<&Path>
[src]
Obtain the filesystem path of the signable entity, if it is backed by a file.
pub fn source_directory(&self) -> Option<&Path>
[src]
Obtain the filesystem path of the signable directory, if it is backed by a directory.
pub fn destination_compatibility(
&self,
destination: &SigningDestination
) -> SigningDestinationCompatibility
[src]
&self,
destination: &SigningDestination
) -> SigningDestinationCompatibility
Resolves the compatibility for signing this entity to a given SigningDestination.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Signable
impl RefUnwindSafe for Signable
impl UnwindSafe for Signable
impl UnwindSafe for Signable
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,