Enum zircon_object::vm::SeekOrigin[][src]

#[repr(usize)]pub enum SeekOrigin {
    Start,
    Current,
    End,
}

Enumeration of possible methods to modify the seek within an Stream.

Variants

Start

Set the seek offset relative to the start of the stream.

Current

Set the seek offset relative to the current seek offset of the stream.

End

Set the seek offset relative to the end of the stream, as defined by the content size of the stream.

Trait Implementations

impl Debug for SeekOrigin[src]

impl TryFrom<usize> for SeekOrigin[src]

type Error = usize

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for SeekOrigin

impl Send for SeekOrigin

impl Sync for SeekOrigin

impl Unpin for SeekOrigin

impl UnwindSafe for SeekOrigin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.