Crate tokio_yamux
source · [−]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
Configuration of session and stream
The error types
Process the frame
The session, can open and manage substreams
The substream, the main interface is AsyncRead/AsyncWrite
Structs
A session control is used to open the stream or close the session