Enum rust_ipfs::p2p::KadInserts
source · pub enum KadInserts {
Auto,
Manual,
}
Variants§
Trait Implementations§
source§impl Clone for KadInserts
impl Clone for KadInserts
source§fn clone(&self) -> KadInserts
fn clone(&self) -> KadInserts
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 KadInserts
impl Debug for KadInserts
source§impl Default for KadInserts
impl Default for KadInserts
source§fn default() -> KadInserts
fn default() -> KadInserts
Returns the “default value” for a type. Read more
source§impl From<KadInserts> for KademliaBucketInserts
impl From<KadInserts> for KademliaBucketInserts
source§fn from(value: KadInserts) -> Self
fn from(value: KadInserts) -> Self
Converts to this type from the input type.
impl Copy for KadInserts
Auto Trait Implementations§
impl RefUnwindSafe for KadInserts
impl Send for KadInserts
impl Sync for KadInserts
impl Unpin for KadInserts
impl UnwindSafe for KadInserts
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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