mod descriptor;
pub mod migration_handler;
mod negotiation;
mod registry;
pub mod stream_window;
pub const SUBPROTOCOL_NEGOTIATION: u16 = 0x0600;
pub use descriptor::{SubprotocolDescriptor, SubprotocolVersion, MANIFEST_ENTRY_SIZE};
pub use migration_handler::{
EnvelopeUnsealFn, FailureCallback, MigrationHandlerHooks, MigrationIdentityContext,
MigrationSubprotocolHandler, OutboundMigrationMessage, PostRestoreCallback, PreCleanupCallback,
ReadinessCallback,
};
pub use negotiation::{negotiate, ManifestEntry, NegotiatedSet, SubprotocolManifest};
pub use registry::SubprotocolRegistry;
pub use stream_window::{StreamWindow, SUBPROTOCOL_STREAM_WINDOW};