Enum curl::easy::SeekResult [] [src]

pub enum SeekResult {
    Ok,
    Fail,
    CantSeek,
    // some variants omitted
}

Possible return values from the seek_function callback.

Variants

Ok

Indicates that the seek operation was a success

Fail

Indicates that the seek operation failed, and the entire request should fail as a result.

CantSeek

Indicates that although the seek failed libcurl should attempt to keep working if possible (for example "seek" through reading).