pub enum DittoSmallPeerInfoSyncScope {
BigPeerOnly,
LocalPeerOnly,
}
Expand description
Determines which “kind” of peers the small peer info will be
replicate to, defaults to DittoSmallPeerInfoSyncScope::LocalPeerOnly
.
Which peers to replicate the __small_peer_info
collection to.
Variants
BigPeerOnly
LocalPeerOnly
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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl 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
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn 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
fn compat_ref(&self) -> Compat<&T>
fn compat_ref(&self) -> Compat<&T>
Applies the [
Compat
] adapter by shared reference. Read morefn compat_mut(&mut self) -> Compat<&mut T>
fn compat_mut(&mut self) -> Compat<&mut T>
Applies the [
Compat
] adapter by mutable reference. Read moreimpl<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