Struct algonaut_client::error::RequestError
source · [−]pub struct RequestError {
pub url: Option<String>,
pub details: RequestErrorDetails,
}
Fields
url: Option<String>
details: RequestErrorDetails
Implementations
sourceimpl RequestError
impl RequestError
pub fn new(url: Option<String>, details: RequestErrorDetails) -> RequestError
Trait Implementations
sourceimpl Clone for RequestError
impl Clone for RequestError
sourcefn clone(&self) -> RequestError
fn clone(&self) -> RequestError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RequestError
impl Debug for RequestError
sourceimpl Display for RequestError
impl Display for RequestError
sourceimpl Error for RequestError
impl Error for RequestError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<RequestError> for ClientError
impl From<RequestError> for ClientError
sourcefn from(source: RequestError) -> Self
fn from(source: RequestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for RequestError
impl Send for RequestError
impl Sync for RequestError
impl Unpin for RequestError
impl UnwindSafe for RequestError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more