Trait completion_io::AsyncSeekWith [−][src]
A cursor which can be moved within a stream of bytes with a specific lifetime.
Associated Types
type SeekFuture: CompletionFuture<Output = Result<u64>>
[src]
Future that seeks to an offset a stream. If successful, resolves to the new position from the start of the stream.
Required methods
fn seek(&'a mut self, pos: SeekFrom) -> Self::SeekFuture
[src]
Seek to an offset in bytes in a stream.