Struct GoAwayMessage
pub struct GoAwayMessage {
pub go_away: GoAwayPayload,
}Expand description
Server GoAway signal — requesting graceful disconnect.
Fields§
§go_away: GoAwayPayloadThe GoAway payload.
Trait Implementations§
§impl Clone for GoAwayMessage
impl Clone for GoAwayMessage
§fn clone(&self) -> GoAwayMessage
fn clone(&self) -> GoAwayMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for GoAwayMessage
impl Debug for GoAwayMessage
§impl<'de> Deserialize<'de> for GoAwayMessage
impl<'de> Deserialize<'de> for GoAwayMessage
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GoAwayMessage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GoAwayMessage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GoAwayMessage
impl RefUnwindSafe for GoAwayMessage
impl Send for GoAwayMessage
impl Sync for GoAwayMessage
impl Unpin for GoAwayMessage
impl UnwindSafe for GoAwayMessage
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