pub enum NodeBlockReason {
BadCrypto,
DOS,
}
Variants§
Trait Implementations§
source§impl Clone for NodeBlockReason
impl Clone for NodeBlockReason
source§fn clone(&self) -> NodeBlockReason
fn clone(&self) -> NodeBlockReason
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 NodeBlockReason
impl Debug for NodeBlockReason
source§impl Hash for NodeBlockReason
impl Hash for NodeBlockReason
source§impl PartialEq for NodeBlockReason
impl PartialEq for NodeBlockReason
source§fn eq(&self, other: &NodeBlockReason) -> bool
fn eq(&self, other: &NodeBlockReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NodeBlockReason
impl Serialize for NodeBlockReason
impl Eq for NodeBlockReason
impl StructuralPartialEq for NodeBlockReason
Auto Trait Implementations§
impl Freeze for NodeBlockReason
impl RefUnwindSafe for NodeBlockReason
impl Send for NodeBlockReason
impl Sync for NodeBlockReason
impl Unpin for NodeBlockReason
impl UnwindSafe for NodeBlockReason
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