Enum curl::easy::SeekResult
#[non_exhaustive]
pub enum SeekResult {
Ok,
Fail,
CantSeek,
}Documentation
Possible return values from the seek_function callback.
Variants
OkIndicates that the seek operation was a success
FailIndicates that the seek operation failed, and the entire request should fail as a result.
CantSeekIndicates that although the seek failed libcurl should attempt to keep working if possible (for example “seek” through reading).
Trait Implementations
impl Clone for SeekResult
fn clone(&Self) -> SeekResultimpl Copy for SeekResultimpl Debug for SeekResult
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::ResultAuto Trait Implementations
impl RefUnwindSafe for SeekResultimpl Send for SeekResultimpl Sync for SeekResultimpl Unpin for SeekResultimpl UnwindSafe for SeekResultBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T