@@ -40,9 +40,6 @@ use std::{
4040use thiserror:: Error ;
4141use yamux:: ConnectionError ;
4242
43- #[ deprecated( note = "Import the `yamux` module instead and refer to this type as `yamux::Muxer`." ) ]
44- pub type Yamux < S > = Muxer < S > ;
45-
4643/// A Yamux connection.
4744pub struct Muxer < S > {
4845 /// The [`futures::stream::Stream`] of incoming substreams.
@@ -113,9 +110,6 @@ where
113110 }
114111}
115112
116- #[ deprecated( note = "Use `Result<T, yamux::Error>` instead." ) ]
117- pub type YamuxResult < T > = Result < T , Error > ;
118-
119113impl < S > StreamMuxer for Muxer < S >
120114where
121115 S : Stream < Item = Result < yamux:: Stream , Error > > + Unpin ,
@@ -200,9 +194,6 @@ where
200194 }
201195}
202196
203- #[ deprecated( note = "Import the `yamux` module and refer to this type as `yamux::Config` instead." ) ]
204- pub type YamuxConfig = Config ;
205-
206197/// The yamux configuration.
207198#[ derive( Debug , Clone ) ]
208199pub struct Config {
@@ -250,11 +241,6 @@ impl WindowUpdateMode {
250241 }
251242}
252243
253- #[ deprecated(
254- note = "Import the `yamux` module and refer to this type as `yamux::LocalConfig` instead."
255- ) ]
256- pub type YamuxLocalConfig = LocalConfig ;
257-
258244/// The yamux configuration for upgrading I/O resources which are ![`Send`].
259245#[ derive( Clone ) ]
260246pub struct LocalConfig ( Config ) ;
@@ -396,9 +382,6 @@ where
396382 }
397383}
398384
399- #[ deprecated( note = "Import the `yamux` module and refer to this type as `yamux::Error` instead." ) ]
400- pub type YamuxError = Error ;
401-
402385/// The Yamux [`StreamMuxer`] error type.
403386#[ derive( Debug , Error ) ]
404387#[ error( "yamux error: {0}" ) ]
0 commit comments