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 for DesyncDetection
impl PartialEq 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 ==
.impl Copy for DesyncDetection
impl Eq for DesyncDetection
impl StructuralPartialEq for DesyncDetection
Auto Trait Implementations§
impl RefUnwindSafe for DesyncDetection
impl Send for DesyncDetection
impl Sync for DesyncDetection
impl Unpin for DesyncDetection
impl UnwindSafe for DesyncDetection
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