Struct tugger_apple_codesign::ParsedBlob[][src]

pub struct ParsedBlob<'a> {
    pub blob_entry: BlobEntry<'a>,
    pub blob: BlobData<'a>,
}

Represents the parsed content of a blob entry.

Fields

blob_entry: BlobEntry<'a>

The blob record this blob came from.

blob: BlobData<'a>

The parsed blob data.

Implementations

impl<'a> ParsedBlob<'a>[src]

pub fn digest_with(
    &self,
    hash: DigestType
) -> Result<Vec<u8>, AppleCodesignError>
[src]

Compute the content digest of this blob using the specified hash type.

Trait Implementations

impl<'a> Debug for ParsedBlob<'a>[src]

impl<'a> TryFrom<BlobEntry<'a>> for ParsedBlob<'a>[src]

type Error = AppleCodesignError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'a> RefUnwindSafe for ParsedBlob<'a>

impl<'a> Send for ParsedBlob<'a>

impl<'a> Sync for ParsedBlob<'a>

impl<'a> Unpin for ParsedBlob<'a>

impl<'a> UnwindSafe for ParsedBlob<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.