pub struct TransportError {
pub code: String,
pub message: String,
}Expand description
A transport-level or request-level failure (§1.1 HTTP-JSON surface).
Fields§
§code: String§message: StringImplementations§
Trait Implementations§
Source§impl Clone for TransportError
impl Clone for TransportError
Auto Trait Implementations§
impl Freeze 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