Struct Seek

#[must_use = "futures do nothing unless you `.await` or poll them"]
pub struct Seek<'a, S: ?Sized> { /* private fields */ }

Future for the seek method.

Trait Implementations

impl<'a, S: Debug + ?Sized> Debug for Seek<'a, S>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<S: ?Sized + Unpin> Unpin for Seek<'_, S>

impl<S: AsyncSeek + ?Sized + Unpin> Future for Seek<'_, S>

type Output = Result<u64, Error>;
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

Auto Trait Implementations

impl<'a, S> !UnwindSafe for Seek<'a, S>

impl<'a, S> Freeze for Seek<'a, S> where &'a mut S: Freeze, S: ?Sized,

impl<'a, S> RefUnwindSafe for Seek<'a, S> where &'a mut S: RefUnwindSafe, S: ?Sized,

impl<'a, S> Send for Seek<'a, S> where &'a mut S: Send, S: ?Sized,

impl<'a, S> Sync for Seek<'a, S> where &'a mut S: Sync, S: ?Sized,

impl<'a, S> UnsafeUnpin for Seek<'a, S> where &'a mut S: UnsafeUnpin, S: ?Sized,

Blanket Implementations

impl<F> IntoFuture for Seek<'a, S> where F: Future,

type Output = <F as Future>::Output;
type IntoFuture = F;
fn into_future(self) -> <F as IntoFuture>::IntoFuture

impl<F, T, E> TryFuture for Seek<'a, S> where F: Future<Output = Result<T, E>> + ?Sized,

type Ok = T;
type Error = E;
fn try_poll(self: Pin<&mut F>, cx: &mut Context<'_>) -> Poll<<F as Future>::Output>

impl<Fut> TryFutureExt for Seek<'a, S> where Fut: TryFuture + ?Sized,

impl<T> Any for Seek<'a, S> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for Seek<'a, S> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for Seek<'a, S> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for Seek<'a, S>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FutureExt for Seek<'a, S> where T: Future + ?Sized,

impl<T, U> Into<U> for Seek<'a, S> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for Seek<'a, S> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for Seek<'a, S> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>