Platform-independent MCTP types and traits crate.
This crate defines the core API contract between MCTP clients and the MCTP server. It provides traits for client operations, listener management, and request/response channels, as well as the binary IPC wire protocol used for inter-process communication.
Handle — opaque handle for listeners, requests, or response channelsRecvMetadata — metadata from a successful receive (msg_type, tag, remote_eid, payload_size, etc.)MctpError / ResponseCode — error types (Success, InternalError, NoSpace, AddrInUse, TimedOut, BadArgument, ServerRestarted)MctpClient — main client interface (req, listener, get/set EID, recv, send, drop_handle)MctpListener — receiving incoming MCTP messages of a specific typeMctpReqChannel — request/response channelsMctpRespChannel — response channelsThe wire module implements binary request/response encoding for IPC communication between userspace processes and the MCTP server.
zerocopy — zero-copy serializationheapless — no_std collectionsThis crate is no_std compatible.