Struct openethereum::cli::Network
source · [−]struct Network {Show 16 fields
warp: Option<bool>,
warp_barrier: Option<u64>,
port: Option<u16>,
interface: Option<String>,
min_peers: Option<u16>,
max_peers: Option<u16>,
snapshot_peers: Option<u16>,
max_pending_peers: Option<u16>,
nat: Option<String>,
allow_ips: Option<String>,
id: Option<u64>,
bootnodes: Option<Vec<String>>,
discovery: Option<bool>,
node_key: Option<String>,
reserved_peers: Option<String>,
reserved_only: Option<bool>,
}
Fields
warp: Option<bool>
warp_barrier: Option<u64>
port: Option<u16>
interface: Option<String>
min_peers: Option<u16>
max_peers: Option<u16>
snapshot_peers: Option<u16>
max_pending_peers: Option<u16>
nat: Option<String>
allow_ips: Option<String>
id: Option<u64>
bootnodes: Option<Vec<String>>
discovery: Option<bool>
node_key: Option<String>
reserved_peers: Option<String>
reserved_only: Option<bool>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Network
impl<'de> Deserialize<'de> for Network
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Network
Auto Trait Implementations
impl RefUnwindSafe for Network
impl Send for Network
impl Sync for Network
impl Unpin for Network
impl UnwindSafe for Network
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more