Struct GoAway
pub struct GoAway(/* private fields */);Expand description
A GOAWAY frame received from the peer.
Implementations§
§impl GoAway
impl GoAway
pub fn frame(&self) -> &GoAway
pub fn frame(&self) -> &GoAway
Returns the received GOAWAY frame.
pub fn ack(self) -> ControlAck
pub fn ack(self) -> ControlAck
Acknowledges the event without sending a frame.
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 UnsafeUnpin 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