pub struct AddconnectionParams {
pub address: Address,
pub connection_type: String,
pub v2transport: bool,
}Expand description
Open an outbound connection to a specified node. This RPC is for testing only.
Fields§
§address: AddressThe IP address and port to attempt connecting to.
connection_type: StringType of connection to open (“outbound-full-relay”, “block-relay-only”, “addr-fetch” or “feeler”).
v2transport: boolAttempt to connect using BIP324 v2 transport protocol
Trait Implementations§
Source§impl Debug for AddconnectionParams
impl Debug for AddconnectionParams
Auto Trait Implementations§
impl Freeze for AddconnectionParams
impl RefUnwindSafe for AddconnectionParams
impl Send for AddconnectionParams
impl Sync for AddconnectionParams
impl Unpin for AddconnectionParams
impl UnwindSafe for AddconnectionParams
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