//! `mxaccess-callback` — `INmxSvcCallback` RPC server (the callback exporter). //! //! M2 wave 3 landed: the [`exporter`] module ports //! `src/MxNativeClient/ManagedCallbackExporter.cs` to a tokio-based TCP //! server that serves `IRemUnknown` and `INmxSvcCallback` opnums and emits //! typed [`exporter::CallbackEvent`]s for diagnostic observation. //! //! Opnums (verified against `src/MxNativeClient/NmxSvcCallbackMessages.cs:11-12`): //! - `3` `DataReceived(bufferSize: i32, dataBuffer: sbyte[bufferSize]) -> hresult` //! - `4` `StatusReceived(bufferSize: i32, statusBuffer: sbyte[bufferSize]) -> hresult` //! //! Plus the `IRemUnknown::RemQueryInterface` handler that completes the //! server-side handshake against our exported OBJREF (DoD condition for M2). #![forbid(unsafe_code)] pub mod exporter; pub use exporter::{CallbackEvent, CallbackExporter, ExporterIdentities, IUNKNOWN_IID};