We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f99f77 commit e74b11aCopy full SHA for e74b11a
msg-transport/src/durable/session.rs
@@ -18,9 +18,6 @@ pub type PendingIo<Io> = Pin<Box<dyn Future<Output = io::Result<Io>> + Send>>;
18
/// A layer can be applied to pre-process a newly established IO object. If you need
19
/// multiple layers, use a single top-level layer that contains and calls the other layers.
20
pub trait Layer<Io: AsyncRead + AsyncWrite>: 'static {
21
- /// The type of the IO object that is processed.
22
- // type Io: AsyncRead + AsyncWrite;
23
-
24
/// The processing method. This method is called with the IO object that
25
/// should be processed, and returns a future that resolves to a processing error
26
/// or the processed IO object.
0 commit comments