Enum hakuban::DataSynchronized
source · pub enum DataSynchronized {
Now,
LastAt(Instant),
}
Expand description
Object synchronization state
Variants§
Implementations§
source§impl DataSynchronized
impl DataSynchronized
pub fn micros_ago(&self) -> u64
Trait Implementations§
source§impl Clone for DataSynchronized
impl Clone for DataSynchronized
source§fn clone(&self) -> DataSynchronized
fn clone(&self) -> DataSynchronized
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 DataSynchronized
impl Debug for DataSynchronized
source§impl PartialEq<DataSynchronized> for DataSynchronized
impl PartialEq<DataSynchronized> for DataSynchronized
source§fn eq(&self, other: &DataSynchronized) -> bool
fn eq(&self, other: &DataSynchronized) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.