pub trait IoService: Send + Sync {
// Required method
fn session(&self) -> Arc<dyn IoSource> ⓘ;
}Expand description
A byte source’s IO service, shared by everything that reads the source.
Each registration scope reads through its own IoSource, and the service is free to share
and coalesce the reads of all of them.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".