pub trait RecvStreamSpecific: Send {
// Required methods
fn inner(&mut self) -> &mut (impl AsyncRead + Unpin + Send);
fn stop(&mut self, code: VarInt) -> Result<()>;
fn id(&self) -> u64;
}
Required Methods§
fn inner(&mut self) -> &mut (impl AsyncRead + Unpin + Send)
fn stop(&mut self, code: VarInt) -> Result<()>
fn id(&self) -> u64
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.