rs_facetime 0.1.1

Unstable, still in development — FaceTime Audio private API bridge for macOS
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use thiserror::Error;

#[derive(Debug, Error)]
pub enum RsFacetimeError {
    #[error("rs_facetime requires macOS")]
    UnsupportedPlatform,

    #[error("io: {0}")]
    Io(#[from] std::io::Error),

    #[error("json: {0}")]
    Json(#[from] serde_json::Error),

    #[error("private-api: {0}")]
    PrivateApi(String),
}

pub type Result<T> = std::result::Result<T, RsFacetimeError>;