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§
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