Trait SeekExt

Source
pub trait SeekExt {
    // Required method
    fn stream_length(&mut self) -> Result<u64>;
}
Expand description

A trait to help to seek in a stream.

Required Methods§

Source

fn stream_length(&mut self) -> Result<u64>

Returns the length of the stream.

Implementors§

Source§

impl<T: Seek> SeekExt for T