pub struct ConnectionError {
pub code: u32,
}Expand description
Connection-level failure: the driver must send a GOAWAY with this code and close.
Fields§
§code: u32HTTP/2 error code for the GOAWAY frame.
Trait Implementations§
Source§impl Clone for ConnectionError
impl Clone for ConnectionError
impl Copy for ConnectionError
Source§impl Debug for ConnectionError
impl Debug for ConnectionError
impl Eq for ConnectionError
Source§impl PartialEq for ConnectionError
impl PartialEq for ConnectionError
impl StructuralPartialEq for ConnectionError
Auto Trait Implementations§
impl Freeze for ConnectionError
impl RefUnwindSafe for ConnectionError
impl Send for ConnectionError
impl Sync for ConnectionError
impl Unpin for ConnectionError
impl UnsafeUnpin for ConnectionError
impl UnwindSafe for ConnectionError
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