Enum tugger_apple_codesign::ExecutionPolicy [−][src]
pub enum ExecutionPolicy { DeveloperIdSigned, DeveloperIdNotarizedExecutable, DeveloperIdNotarizedInstaller, }
Defines well-known execution policies for signed code.
Instances can be obtained from a human-readable string for convenience. Those strings are:
developer-id-signed
developer-id-notarized-executable
developer-id-notarized-installer
Variants
Code is signed by a certificate authorized for signing Mac applications or installers and that certificate was issued by crate::apple_certificates::KnownCertificate::DeveloperId.
This is the policy that applies when you get a Developer ID Application
or
Developer ID Installer
certificate from Apple.
Like Self::DeveloperIdSigned but only applies to executables (not installers) and the executable must be notarized.
If you notarize an individual executable, you effectively convert the Self::DeveloperIdSigned policy into this variant.
Like Self::DeveloperIdSigned but only applies to installers (not executables) and the installer must be notarized.
If you notarize an individual installer, you effectively convert the Self::DeveloperIdSigned policy into this variant.
Methods from Deref<Target = CodeRequirementExpression<'static>>
Trait Implementations
impl Deref for ExecutionPolicy
[src]
impl Deref for ExecutionPolicy
[src]type Target = CodeRequirementExpression<'static>
type Target = CodeRequirementExpression<'static>
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for ExecutionPolicy
impl Send for ExecutionPolicy
impl Sync for ExecutionPolicy
impl Unpin for ExecutionPolicy
impl UnwindSafe for ExecutionPolicy
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<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,