pub struct GoAway {
pub last_stream_id: StreamId,
pub error_code: ErrorCode,
pub additional_debug_data: Piece,
}
Expand description
Payload for a GOAWAY frame
Fields§
§last_stream_id: StreamId
§error_code: ErrorCode
§additional_debug_data: Piece
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for GoAway
impl !RefUnwindSafe for GoAway
impl !Send for GoAway
impl !Sync for GoAway
impl Unpin for GoAway
impl !UnwindSafe for GoAway
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