Expand description
A Rust implementation of yamux
Spec: https://github.com/hashicorp/yamux/blob/master/spec.md
Re-exports§
pub use crate::config::Config;pub use crate::error::Error;pub use crate::session::Session;pub use crate::stream::StreamHandle;
Modules§
- config
- Configuration of session and stream
- error
- The error types
- frame
- Process the frame
- session
- The session, can open and manage substreams
- stream
- The substream, the main interface is AsyncRead/AsyncWrite
Structs§
- Control
- A session control is used to open the stream or close the session