AppleArchiveExt

Trait AppleArchiveExt 

pub trait AppleArchiveExt {
    // Required methods
    fn to_attached_streams(&self) -> Result<Vec<AttachedStream>, Error>;
    fn to_apple_metadata(&self) -> Option<AppleMetadata>;
}
Expand description

Extension methods for [AppleArchive] bridging to ctb-io-file types.

Required Methods§

fn to_attached_streams(&self) -> Result<Vec<AttachedStream>, Error>

Converts resource fork and extended attributes into [AttachedStream]s.

fn to_apple_metadata(&self) -> Option<AppleMetadata>

Extracts [AppleMetadata] from this archive, if any relevant fields are present.

Implementations on Foreign Types§

§

impl AppleArchiveExt for AppleArchive

§

fn to_attached_streams(&self) -> Result<Vec<AttachedStream>, Error>

§

fn to_apple_metadata(&self) -> Option<AppleMetadata>

Implementors§