pub trait StreamOps:
PairSpec
+ OpenBi
+ OpenUni
+ AcceptBi
+ AcceptUni { }
Expand description
Base stream operations.
A blanket implementation for all the types that implement the required base stream APIs.
You might want to depend on this trait instead of the more
demaning crate::base::Session
in your libraries that only require
stream operations.
Also, consider depending on the individual stream APIs directly.
Object Safety§
This trait is not object safe.