pub trait SendStreamSpecific: Send {
// Required methods
fn inner(&mut self) -> &mut (impl AsyncWrite + Unpin + Send);
fn reset(&mut self, code: VarInt) -> Result<()>;
fn stopped(&mut self) -> impl Future<Output = Result<Option<VarInt>>> + Send;
}
Required Methods§
fn inner(&mut self) -> &mut (impl AsyncWrite + Unpin + Send)
fn reset(&mut self, code: VarInt) -> Result<()>
fn stopped(&mut self) -> impl Future<Output = Result<Option<VarInt>>> + Send
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.