Enum curl::easy::ReadError
#[non_exhaustive]
pub enum ReadError {
Abort,
Pause,
}Documentation
Possible error codes that can be returned from the read_function callback.
Variants
AbortIndicates that the connection should be aborted immediately
PauseIndicates that reading should be paused until unpause is called.
Trait Implementations
impl Debug for ReadError
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::ResultAuto Trait Implementations
impl RefUnwindSafe for ReadErrorimpl UnwindSafe for ReadErrorBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T