The generic bounds for to_writer and from_reader do not have ?Sized so they implicitly require Sized.
If I want to use a DST (mainly dyn std::io::Write) in this case, it gets a bit ugly because I have to double-borrow (&mut &mut dyn std::io::Write).
From my cursory inspection, there's nothing that requires it to be Sized. If I'm mistaken please tell me.
The generic bounds for
to_writerandfrom_readerdo not have?Sizedso they implicitly requireSized.If I want to use a DST (mainly
dyn std::io::Write) in this case, it gets a bit ugly because I have to double-borrow (&mut &mut dyn std::io::Write).From my cursory inspection, there's nothing that requires it to be
Sized. If I'm mistaken please tell me.