Enum libp2p::swarm::AddAddressResult
source · [−]pub enum AddAddressResult {
Inserted,
Updated,
}
Expand description
The result of adding an address to an ordered list of addresses with associated scores.
Variants
Inserted
Updated
Auto Trait Implementations
impl RefUnwindSafe for AddAddressResult
impl Send for AddAddressResult
impl Sync for AddAddressResult
impl Unpin for AddAddressResult
impl UnwindSafe for AddAddressResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more