Enum libp2p::swarm::AddAddressResult
source · [−]pub enum AddAddressResult {
Inserted {
expired: SmallVec<[AddressRecord; 8]>,
},
Updated {
expired: SmallVec<[AddressRecord; 8]>,
},
}
Expand description
The result of adding an address to an ordered list of addresses with associated scores.
Variants
Inserted
Fields
expired: SmallVec<[AddressRecord; 8]>
Updated
Fields
expired: SmallVec<[AddressRecord; 8]>
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