Struct GoAwayPayload
pub struct GoAwayPayload {
pub time_left: Option<String>,
}Expand description
Payload for GoAway.
Fields§
§time_left: Option<String>Time remaining before forced disconnect (e.g. "30s").
Trait Implementations§
§impl Clone for GoAwayPayload
impl Clone for GoAwayPayload
§fn clone(&self) -> GoAwayPayload
fn clone(&self) -> GoAwayPayload
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 GoAwayPayload
impl Debug for GoAwayPayload
§impl<'de> Deserialize<'de> for GoAwayPayload
impl<'de> Deserialize<'de> for GoAwayPayload
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GoAwayPayload, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GoAwayPayload, <__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 GoAwayPayload
impl RefUnwindSafe for GoAwayPayload
impl Send for GoAwayPayload
impl Sync for GoAwayPayload
impl Unpin for GoAwayPayload
impl UnwindSafe for GoAwayPayload
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