darra-ethercat-master 2.0.5

商业 EtherCAT 主站协议栈 · 实时内核驱动 · 抖动 1µs · Windows + Linux · 多编程语言 · 全协议 · 支持复杂拓扑 + 热插拔 · ethercat.darra.xyz · Commercial EtherCAT Master protocol stack · Real-time kernel driver · 1µs jitter · Multi-platform · Multi-language · Complex topology + hot-plug.
//! Rust SDK 邮箱抽象层 (对齐 C# Abstractions)
//!
//! 统一七大邮箱协议 (CoE / FoE / SoE / AoE / EoE / VoE / FSoE)
//! 的 "协议类型 / 是否支持 / 最后错误 / 统计快照" 视图.
//!
//! 对应 C# namespace `DarraEtherCAT_Master.Abstractions`:
//! - `MailboxStatus`     <-> `MailboxStatus.cs`
//! - `MailboxStatistics` <-> `MailboxStatistics.cs`
//! - `MailboxProtocol`   <-> `IMailboxProtocol.cs`
//! - `MailboxError`      <-> C# 端无直接对应, Rust 额外提供 thiserror 枚举

pub mod mailbox_status;
pub mod mailbox_statistics;
pub mod mailbox_protocol;
pub mod mailbox_error;

pub use mailbox_status::MailboxStatus;
pub use mailbox_statistics::MailboxStatistics;
pub use mailbox_protocol::MailboxProtocol;
pub use mailbox_error::{MailboxError, MailboxResult};