#[repr(C)]pub enum DittoSmallPeerInfoSyncScope {
BigPeerOnly,
LocalPeerOnly,
}
Expand description
Which peers to replicate the __small_peer_info
collection to.
Variants§
Trait Implementations§
§impl Clone for DittoSmallPeerInfoSyncScope
impl Clone for DittoSmallPeerInfoSyncScope
§fn clone(&self) -> DittoSmallPeerInfoSyncScope
fn clone(&self) -> DittoSmallPeerInfoSyncScope
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 more§impl Debug for DittoSmallPeerInfoSyncScope
impl Debug for DittoSmallPeerInfoSyncScope
§impl PartialEq<DittoSmallPeerInfoSyncScope> for DittoSmallPeerInfoSyncScope
impl PartialEq<DittoSmallPeerInfoSyncScope> for DittoSmallPeerInfoSyncScope
§fn eq(&self, other: &DittoSmallPeerInfoSyncScope) -> bool
fn eq(&self, other: &DittoSmallPeerInfoSyncScope) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DittoSmallPeerInfoSyncScope
impl Eq for DittoSmallPeerInfoSyncScope
impl StructuralEq for DittoSmallPeerInfoSyncScope
impl StructuralPartialEq for DittoSmallPeerInfoSyncScope
Auto Trait Implementations§
impl RefUnwindSafe for DittoSmallPeerInfoSyncScope
impl Send for DittoSmallPeerInfoSyncScope
impl Sync for DittoSmallPeerInfoSyncScope
impl Unpin for DittoSmallPeerInfoSyncScope
impl UnwindSafe for DittoSmallPeerInfoSyncScope
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more