pub struct AddpeeraddressParams {
pub address: Address,
pub port: i64,
pub tried: Option<bool>,
}Expand description
Add the address of a potential peer to an address manager table. This RPC is for testing only.
Fields§
§address: AddressThe IP address of the peer
port: i64The port of the peer
tried: Option<bool>If true, attempt to add the peer to the tried addresses table
Trait Implementations§
Source§impl Debug for AddpeeraddressParams
impl Debug for AddpeeraddressParams
Auto Trait Implementations§
impl Freeze for AddpeeraddressParams
impl RefUnwindSafe for AddpeeraddressParams
impl Send for AddpeeraddressParams
impl Sync for AddpeeraddressParams
impl Unpin for AddpeeraddressParams
impl UnwindSafe for AddpeeraddressParams
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