Struct xstack_kad::kbucket::KBucket
source · pub struct KBucket<Key, Value>(/* private fields */);Expand description
Represents a k-bucket instance.
Trait Implementations§
Auto Trait Implementations§
impl<Key, Value> Freeze for KBucket<Key, Value>
impl<Key, Value> RefUnwindSafe for KBucket<Key, Value>where
Key: RefUnwindSafe,
Value: RefUnwindSafe,
impl<Key, Value> Send for KBucket<Key, Value>
impl<Key, Value> Sync for KBucket<Key, Value>
impl<Key, Value> Unpin for KBucket<Key, Value>
impl<Key, Value> UnwindSafe for KBucket<Key, Value>where
Key: UnwindSafe,
Value: UnwindSafe,
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