pub type BoxedWriter = Box<dyn AsyncWrite + Unpin + Send>;
Test-only convenience: own a Box directly. Tests construct one via make_shared_writer(Box::new(duplex_a)).
make_shared_writer(Box::new(duplex_a))
pub struct BoxedWriter(/* private fields */);