pub struct Testnet {
pub bootstrap: Vec<String>,
pub nodes: Vec<Dht>,
}
Expand description
Create a testnet of Dht nodes to run tests against instead of the real mainline network.
Fields§
§bootstrap: Vec<String>
§nodes: Vec<Dht>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Testnet
impl Send for Testnet
impl Sync for Testnet
impl Unpin for Testnet
impl !UnwindSafe for Testnet
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