Struct bitcoin_connman::ConnmanOptions
source · pub struct ConnmanOptions {Show 23 fields
pub n_local_services: ServiceFlags,
pub n_max_connections: i32,
pub max_outbound_full_relay: i32,
pub max_outbound_block_relay: i32,
pub n_max_addnode: i32,
pub n_max_feeler: i32,
pub ui_interface: Option<ClientUIInterface>,
pub msgproc: Option<Box<dyn NetEventsInterface>>,
pub banman: Option<BanMan>,
pub n_send_buffer_max_size: u32,
pub n_receive_flood_size: u32,
pub n_max_outbound_limit: u64,
pub peer_connect_timeout: Duration,
pub seed_nodes: Vec<String>,
pub whitelisted_range: Option<Vec<NetWhitelistPermissions>>,
pub white_binds: Vec<NetWhitebindPermissions>,
pub binds: Vec<Service>,
pub onion_binds: Vec<Service>,
pub bind_on_any: bool,
pub use_addrman_outgoing: bool,
pub specified_outgoing: Vec<String>,
pub added_nodes: Vec<String>,
pub i2p_accept_incoming: bool,
}
Fields§
§n_local_services: ServiceFlags
§n_max_connections: i32
§max_outbound_full_relay: i32
§max_outbound_block_relay: i32
§n_max_addnode: i32
§n_max_feeler: i32
§ui_interface: Option<ClientUIInterface>
§msgproc: Option<Box<dyn NetEventsInterface>>
§banman: Option<BanMan>
§n_send_buffer_max_size: u32
§n_receive_flood_size: u32
§n_max_outbound_limit: u64
§peer_connect_timeout: Duration
§seed_nodes: Vec<String>
§whitelisted_range: Option<Vec<NetWhitelistPermissions>>
§white_binds: Vec<NetWhitebindPermissions>
§binds: Vec<Service>
§onion_binds: Vec<Service>
§bind_on_any: bool
| True if the user did not specify -bind=
| or -whitebind= and thus we should bind
| on 0.0.0.0
(IPv4) and ::
(IPv6).
|
use_addrman_outgoing: bool
§specified_outgoing: Vec<String>
§added_nodes: Vec<String>
§i2p_accept_incoming: bool
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ConnmanOptions
impl Send for ConnmanOptions
impl Sync for ConnmanOptions
impl Unpin for ConnmanOptions
impl !UnwindSafe for ConnmanOptions
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more