Enum snarkos_node_sync::BlockSyncMode
source · pub enum BlockSyncMode {
Router,
Gateway,
}
Variants§
Implementations§
source§impl BlockSyncMode
impl BlockSyncMode
Trait Implementations§
source§impl Clone for BlockSyncMode
impl Clone for BlockSyncMode
source§fn clone(&self) -> BlockSyncMode
fn clone(&self) -> BlockSyncMode
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 BlockSyncMode
impl Debug for BlockSyncMode
source§impl Hash for BlockSyncMode
impl Hash for BlockSyncMode
source§impl PartialEq for BlockSyncMode
impl PartialEq for BlockSyncMode
source§fn eq(&self, other: &BlockSyncMode) -> bool
fn eq(&self, other: &BlockSyncMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BlockSyncMode
impl Eq for BlockSyncMode
impl StructuralEq for BlockSyncMode
impl StructuralPartialEq for BlockSyncMode
Auto Trait Implementations§
impl RefUnwindSafe for BlockSyncMode
impl Send for BlockSyncMode
impl Sync for BlockSyncMode
impl Unpin for BlockSyncMode
impl UnwindSafe for BlockSyncMode
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<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
§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
Compare self to
key
and return true
if they are equal.