pub trait ExecDuplex:
AsyncRead
+ AsyncWrite
+ Send
+ Unpin { }Expand description
Marker supertrait combining AsyncRead + AsyncWrite so they can be
used together as a single trait object. Rust forbids stacking two
non-auto traits directly in dyn, so ExecPtyStream is built on top
of this helper instead.
A blanket impl below covers every type that already satisfies the four
component bounds, so callers never need to implement ExecDuplex
manually — they just hand the runtime any concrete duplex stream that’s
AsyncRead + AsyncWrite + Send + Unpin.