Enum bitcoind::P2P [−][src]
pub enum P2P { No, Yes, Connect(SocketAddrV4), }
Expand description
Enum to specify p2p settings
Variants
the node doesn’t open a p2p port and work in standalone mode
the node open a p2p port
Connect(SocketAddrV4)
The node open a p2p port and also connects to the url given as parameter
Auto Trait Implementations
impl RefUnwindSafe for P2P
impl Send for P2P
impl Sync for P2P
impl Unpin for P2P
impl UnwindSafe for P2P
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,