Skip to main content

native_ipc_platform/
lib.rs

1//! Platform capability and mapping implementations.
2//!
3//! macOS, Linux, and Windows adapters implement private authenticated bootstrap,
4//! least-authority shared-memory transfer, and owned helper lifecycles.
5
6#[cfg(target_os = "linux")]
7pub mod linux;
8#[cfg(target_os = "macos")]
9pub mod macos;
10#[cfg(target_os = "windows")]
11pub mod windows;
12
13/// Status of an operating-system transport backend.
14#[derive(Clone, Copy, Debug, Eq, PartialEq)]
15pub enum BackendStatus {
16    /// The backend enforces its documented capability policy.
17    Available,
18    /// The backend is deliberately unavailable rather than offering weaker behavior.
19    Incomplete(&'static str),
20}