pub enum TransportFailureKind {
AuthenticationRequired,
EndpointForbidden,
UnsupportedContentCoding,
HttpStatus,
}Expand description
Class of non-protocol HTTP failure returned without a valid WIP envelope.
Variants§
AuthenticationRequired
HTTP 401, commonly emitted by authentication infrastructure.
EndpointForbidden
HTTP 403, commonly emitted by endpoint policy or infrastructure.
UnsupportedContentCoding
The response uses a content coding the client does not support.
HttpStatus
Another non-success HTTP response without a WIP error envelope.
Trait Implementations§
Source§impl Clone for TransportFailureKind
impl Clone for TransportFailureKind
impl Copy for TransportFailureKind
Source§impl Debug for TransportFailureKind
impl Debug for TransportFailureKind
impl Eq for TransportFailureKind
Source§impl PartialEq for TransportFailureKind
impl PartialEq for TransportFailureKind
impl StructuralPartialEq for TransportFailureKind
Auto Trait Implementations§
impl Freeze for TransportFailureKind
impl RefUnwindSafe for TransportFailureKind
impl Send for TransportFailureKind
impl Sync for TransportFailureKind
impl Unpin for TransportFailureKind
impl UnsafeUnpin for TransportFailureKind
impl UnwindSafe for TransportFailureKind
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