We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8931a3c commit 55e16d5Copy full SHA for 55e16d5
1 file changed
crates/io_base/src/lib.rs
@@ -274,6 +274,13 @@ impl Read for InputHandle {
274
}
275
276
277
+impl Seek for InputHandle {
278
+ fn seek(&mut self, pos: SeekFrom) -> io::Result<u64> {
279
+ self.try_seek(pos)
280
+ .map_err(|e| io::Error::new(io::ErrorKind::Other, e))
281
+ }
282
+}
283
+
284
impl InputFeatures for InputHandle {
285
fn get_size(&mut self) -> Result<usize> {
286
self.inner.get_size()
0 commit comments