Crate ndn_face_local

Crate ndn_face_local 

Source
Expand description

§ndn-face-local — Local and IPC faces for NDN

Provides face implementations for communication between applications and the NDN forwarder on the same machine.

§Key types

  • AppFace / AppHandle — in-process channel pair for library-embedded use
  • UnixFace — Unix domain socket face (unix only)
  • IpcFace / IpcListener — cross-platform IPC (Unix sockets on unix, named pipes on Windows)
  • ShmFace / ShmHandle — shared-memory face for zero-copy local transport (requires spsc-shm feature)

§Features

  • spsc-shm (optional) — enables ShmFace for high-throughput shared-memory communication.

Re-exports§

pub use app::AppFace;
pub use app::AppHandle;
pub use ipc::IpcFace;
pub use ipc::IpcListener;
pub use ipc::ipc_face_connect;
pub use unix::UnixFace;
pub use unix::unix_face_connect;
pub use unix::unix_face_from_stream;
pub use unix::unix_management_face_from_stream;
pub use shm::ShmError;
pub use shm::ShmFace;
pub use shm::ShmHandle;

Modules§

app
ipc
Platform-agnostic IPC transport for the NDN management socket.
shm
Shared-memory NDN faces.
unix