Trait photonio_uring::io::Seek

source ·
pub trait Seek {
    type Seek: Future<Output = Result<u64, Error>>;

    fn seek(&mut self, pos: SeekFrom) -> Self::Seek;
}
Expand description

Seeks to a position in an object.

Required Associated Types

A future that resolves to the result of Self::seek.

Required Methods

Seeks to a given position in this object.

Returns the new position from the start of this object.

Implementors