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§
Sourcefn stream_length(&mut self) -> Result<u64>
fn stream_length(&mut self) -> Result<u64>
Returns the length of the stream.