Struct tugger_apple_codesign::RequirementSetBlob [−][src]
pub struct RequirementSetBlob<'a> { pub requirements: HashMap<RequirementType, RequirementBlob<'a>>, }
Represents a Requirement set blob.
A Requirement set blob contains nested Requirement blobs.
Fields
requirements: HashMap<RequirementType, RequirementBlob<'a>>
Implementations
impl<'a> RequirementSetBlob<'a>
[src]
impl<'a> RequirementSetBlob<'a>
[src]pub fn to_owned(&self) -> RequirementSetBlob<'static>
[src]
pub fn set_requirements(
&mut self,
slot: RequirementType,
blob: RequirementBlob<'a>
)
[src]
&mut self,
slot: RequirementType,
blob: RequirementBlob<'a>
)
Set the requirements for a given RequirementType.
Trait Implementations
impl<'a> Blob<'a> for RequirementSetBlob<'a>
[src]
impl<'a> Blob<'a> for RequirementSetBlob<'a>
[src]fn magic() -> u32
[src]
fn from_blob_bytes(data: &'a [u8]) -> Result<Self, AppleCodesignError>
[src]
fn serialize_payload(&self) -> Result<Vec<u8>, AppleCodesignError>
[src]
fn to_blob_bytes(&self) -> Result<Vec<u8>, AppleCodesignError>
[src]
fn digest_with(
&self,
hash_type: DigestType
) -> Result<Vec<u8>, AppleCodesignError>
[src]
&self,
hash_type: DigestType
) -> Result<Vec<u8>, AppleCodesignError>
impl<'a> Default for RequirementSetBlob<'a>
[src]
impl<'a> Default for RequirementSetBlob<'a>
[src]fn default() -> RequirementSetBlob<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for RequirementSetBlob<'a>
impl<'a> RefUnwindSafe for RequirementSetBlob<'a>
impl<'a> Send for RequirementSetBlob<'a>
impl<'a> Send for RequirementSetBlob<'a>
impl<'a> Sync for RequirementSetBlob<'a>
impl<'a> Sync for RequirementSetBlob<'a>
impl<'a> Unpin for RequirementSetBlob<'a>
impl<'a> Unpin for RequirementSetBlob<'a>
impl<'a> UnwindSafe for RequirementSetBlob<'a>
impl<'a> UnwindSafe for RequirementSetBlob<'a>
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]