Expand description
§ndn-transport – Face abstraction and transport layer
Provides the async face abstraction over which NDN packets are sent and received, plus supporting types for face management and framing.
§Key types
Facetrait – asyncsend/recvinterface implemented by all transports.FaceId/FaceKind– face identity and classification (UDP, TCP, etc.).FaceTable/ErasedFace– runtime registry of type-erased faces.StreamFace– genericAsyncRead+AsyncWriteface (TCP, Unix, etc.).TlvCodec–tokio_util::codecframing for TLV streams.RawPacket– thin wrapper pairing rawByteswith a sourceFaceId.CongestionController– per-face congestion window management.
§Feature flags
serde– derivesSerialize/Deserializeon select types.
Re-exports§
pub use any_map::AnyMap;pub use congestion::CongestionController;pub use face::Face;pub use face::FaceAddr;pub use face::FaceError;pub use face::FaceId;pub use face::FaceKind;pub use face::FacePersistency;pub use face::FaceScope;pub use face::LinkType;pub use face_event::FaceEvent;pub use face_pair_table::FacePairTable;pub use face_table::ErasedFace;pub use face_table::FaceInfo;pub use face_table::FaceTable;pub use forwarding::ForwardingAction;pub use forwarding::NackReason;pub use mac_addr::MacAddr;pub use raw_packet::RawPacket;pub use stream_face::StreamFace;pub use tlv_codec::TlvCodec;
Modules§
- any_map
- congestion
- Consumer-side congestion control for NDN.
- face
- face_
event - face_
pair_ table - face_
table - forwarding
- Forwarding action types returned by strategies.
- mac_
addr - Link-layer (MAC) address type shared by the transport, discovery, and face layers.
- raw_
packet - stream_
face - tlv_
codec