Enum ckb_network::Behaviour
source · pub enum Behaviour {}
Expand description
Peers behaviours we maintain a score to each peer report peer behaviour will affects peer’s score
Currently this feature is disabled, maybe someday we will add it back or totally remove it.
Implementations§
Trait Implementations§
source§impl PartialEq for Behaviour
impl PartialEq for Behaviour
impl Copy for Behaviour
impl Eq for Behaviour
impl StructuralPartialEq for Behaviour
Auto Trait Implementations§
impl RefUnwindSafe for Behaviour
impl Send for Behaviour
impl Sync for Behaviour
impl Unpin for Behaviour
impl UnwindSafe for Behaviour
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