pub enum SendRawError {
Sign(Error),
Retry(RetryError),
}Expand description
The error returned by CloudRequestBuilder::send_raw.
Distinguishes a failure to sign the request (an Error from the signer,
e.g. a credential-refresh failure) from a failure of the request itself
(a RetryError carrying the HTTP status and response body). This lets a
caller parse a protocol error envelope from RetryError::body while still
propagating signing failures faithfully.
Variants§
Sign(Error)
The request could not be signed (e.g. credential resolution failed).
Retry(RetryError)
The request was sent but failed; carries the classified status + body.
Trait Implementations§
Source§impl Debug for SendRawError
impl Debug for SendRawError
Source§impl Display for SendRawError
impl Display for SendRawError
Source§impl Error for SendRawError
impl Error for SendRawError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for SendRawError
impl !UnwindSafe for SendRawError
impl Freeze for SendRawError
impl Send for SendRawError
impl Sync for SendRawError
impl Unpin for SendRawError
impl UnsafeUnpin for SendRawError
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