Enum ggrs::DesyncDetection
source · pub enum DesyncDetection {
On {
interval: u32,
},
Off,
}
Expand description
Desync detection by comparing checksums between peers.
Variants§
On
Fields
Desync detection is turned on with a specified interval rate given by the user.
Off
Desync detection is turned off
Trait Implementations§
source§impl Clone for DesyncDetection
impl Clone for DesyncDetection
source§fn clone(&self) -> DesyncDetection
fn clone(&self) -> DesyncDetection
Returns a copy 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 moresource§impl Debug for DesyncDetection
impl Debug for DesyncDetection
source§impl PartialEq<DesyncDetection> for DesyncDetection
impl PartialEq<DesyncDetection> for DesyncDetection
source§fn eq(&self, other: &DesyncDetection) -> bool
fn eq(&self, other: &DesyncDetection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.