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
Abort
Indicates that the connection should be aborted immediately
Pause
Indicates 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::Result
Auto Trait Implementations
impl RefUnwindSafe for ReadError
impl UnwindSafe for ReadError
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T