Module local

Module local 

Source
Expand description

§ndn_faces::local — Local and IPC faces

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

§Key types

  • InProcFace / InProcHandle — 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)

Re-exports§

pub use in_proc::InProcFace;
pub use in_proc::InProcHandle;
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§

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

Type Aliases§

AppFace
Alias for InProcFace: the in-process app-to-engine face backed by tokio::sync::mpsc (zero syscalls, same-thread or cross-thread).