Struct fast_protocol::datatypes::packets::KeepAlive
source · pub struct KeepAlive {
pub id: Long,
}Expand description
Keep Alive packet
§Note
This packet has to be send every 20 seconds and the client has to be disconnected, if no asnwer is received after 15 seconds
Fields§
§id: Longif that the response has to include
Implementations§
Trait Implementations§
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