pub enum TransportError {
Timeout,
Aborted,
TooLarge,
Failed,
}Variants§
Timeout
The deadline passed before the body was read.
Aborted
The signal was aborted before the body was read.
TooLarge
A 2xx answer declared, or streamed, more than the limit.
Failed
No answer: connection, protocol or redirect (redirects are refused, not followed).
Trait Implementations§
Source§impl Clone for TransportError
impl Clone for TransportError
impl Copy for TransportError
Source§impl Debug for TransportError
impl Debug for TransportError
impl Eq for TransportError
Source§impl PartialEq for TransportError
impl PartialEq for TransportError
impl StructuralPartialEq for TransportError
Auto Trait Implementations§
impl Forget for TransportError
impl Freeze for TransportError
impl Move for TransportError
impl RefUnwindSafe for TransportError
impl Send for TransportError
impl Sync for TransportError
impl Unpin for TransportError
impl UnsafeUnpin for TransportError
impl UnwindSafe for TransportError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.