Enum nakamoto_p2p::fsm::AddressEvent
source · pub enum AddressEvent {
AddressesReceived {
count: usize,
source: Source,
},
AddressBookExhausted,
Error(String),
}
Expand description
An event emitted by the address manager.
Variants
AddressesReceived
Peer addresses have been received.
AddressBookExhausted
Address book exhausted.
Error(String)
An error was encountered.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more