pub enum ClientResponseError {
TransportBinding(TransportBindingFailure),
InvalidResponse {
kind: InvalidResponseKind,
detail: String,
},
UnsupportedDescriptorFormat {
format: String,
},
}Expand description
A local failure while classifying or validating a peer response.
Variants§
TransportBinding(TransportBindingFailure)
The HTTP exchange failed outside the protocol envelope.
InvalidResponse
The peer supplied a contradictory or invalid WIP response.
Fields
§
kind: InvalidResponseKindStable response-failure category.
UnsupportedDescriptorFormat
The descriptor is structurally valid but uses an unsupported format.
Trait Implementations§
Source§impl Debug for ClientResponseError
impl Debug for ClientResponseError
Source§impl Display for ClientResponseError
impl Display for ClientResponseError
Source§impl Error for ClientResponseError
impl Error for ClientResponseError
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()
Auto Trait Implementations§
impl Freeze for ClientResponseError
impl RefUnwindSafe for ClientResponseError
impl Send for ClientResponseError
impl Sync for ClientResponseError
impl Unpin for ClientResponseError
impl UnsafeUnpin for ClientResponseError
impl UnwindSafe for ClientResponseError
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