Add implementations of Read for &Reader, etc., following File in std. This is not straightforward because the std trait functions require &mut self, so we either need to keep references to the sys impls (which take &self), if that is possible, or use a RefCell (though I think that would not support simultaneous reads) or some other hack.
Stdio impls and Read for strings should be much easier.
Add implementations of
Readfor&Reader, etc., followingFilein std. This is not straightforward because the std trait functions require&mut self, so we either need to keep references to the sys impls (which take&self), if that is possible, or use a RefCell (though I think that would not support simultaneous reads) or some other hack.Stdio impls and Read for strings should be much easier.