1 2 3 4 5 6
use bincode::Decode; use bincode::Encode; /// The frame used to keep the connection alive. #[derive(Debug, Encode, Decode)] pub struct Ping;