photokit 0.3.4

Safe Rust bindings for Apple's Photos framework — photo library access on macOS
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::error::PhotoKitError;

/// Wraps `PHChangeRequest`.
pub trait PHChangeRequest: core::fmt::Debug {
    /// Output type returned by `PHChangeRequest`.
    type Output;

    /// Executes the Photos framework change request represented by `PHChangeRequest`.
    fn perform(self) -> Result<Self::Output, PhotoKitError>;
}