pub enum Error<H>{
Curl(Error),
Multi(MultiError),
TokioRecv(RecvError),
TokioSend(SendError<Request<H>>),
}
Expand description
This the enum of Errors for this crate.
Variants§
Trait Implementations§
Source§impl<H> Error for Error<H>
impl<H> Error for Error<H>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl<H> From<Error> for Error<H>
This convert curl::Error to our customized
Error enum for ease of management of
different errors from 3rd party crates.
impl<H> From<Error> for Error<H>
This convert curl::Error to our customized Error enum for ease of management of different errors from 3rd party crates.
Source§impl<H> From<RecvError> for Error<H>
This convert RecvError to our customized
Error enum for ease of management of
different errors from 3rd party crates.
impl<H> From<RecvError> for Error<H>
This convert RecvError to our customized Error enum for ease of management of different errors from 3rd party crates.
Auto Trait Implementations§
impl<H> Freeze for Error<H>
impl<H> !RefUnwindSafe for Error<H>
impl<H> Send for Error<H>
impl<H> !Sync for Error<H>
impl<H> Unpin for Error<H>
impl<H> !UnwindSafe for Error<H>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more