Enum DittoSmallPeerInfoSyncScope
#[repr(C)]pub enum DittoSmallPeerInfoSyncScope {
BigPeerOnly = 0,
LocalPeerOnly = 1,
}Expand description
Determines which “kind” of peers the small peer info will be
replicate to, defaults to DittoSmallPeerInfoSyncScope::BigPeerOnly.
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 for DittoSmallPeerInfoSyncScope
impl PartialEq for DittoSmallPeerInfoSyncScope
impl Copy for DittoSmallPeerInfoSyncScope
impl Eq for DittoSmallPeerInfoSyncScope
impl StructuralPartialEq for DittoSmallPeerInfoSyncScope
Auto Trait Implementations§
impl Freeze for DittoSmallPeerInfoSyncScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more