pub struct Keepalive {
pub message_type: MessageType,
pub session_id: Uuid,
pub tick_ms: u64,
}Expand description
Control-plane keepalive frame to detect dead sessions.
Fields§
§message_type: MessageType§session_id: Uuid§tick_ms: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for Keepalive
impl<'de> Deserialize<'de> for Keepalive
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Keepalive
Auto Trait Implementations§
impl Freeze for Keepalive
impl RefUnwindSafe for Keepalive
impl Send for Keepalive
impl Sync for Keepalive
impl Unpin for Keepalive
impl UnwindSafe for Keepalive
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