pub struct HostInfo {Show 17 fields
pub name: String,
pub processes: Vec<ProcessInfo>,
pub seed: u64,
pub network_node_id: u32,
pub pause_for_debugging: bool,
pub cpu_threshold: Option<SimulationTime>,
pub cpu_precision: Option<SimulationTime>,
pub bandwidth_down_bits: Option<u64>,
pub bandwidth_up_bits: Option<u64>,
pub ip_addr: Option<IpAddr>,
pub log_level: Option<LogLevel>,
pub pcap_config: Option<PcapConfig>,
pub send_buf_size: u64,
pub recv_buf_size: u64,
pub autotune_send_buf: bool,
pub autotune_recv_buf: bool,
pub qdisc: QDiscMode,
}
Fields§
§name: String
§processes: Vec<ProcessInfo>
§seed: u64
§network_node_id: u32
§pause_for_debugging: bool
§cpu_threshold: Option<SimulationTime>
§cpu_precision: Option<SimulationTime>
§bandwidth_down_bits: Option<u64>
§bandwidth_up_bits: Option<u64>
§ip_addr: Option<IpAddr>
§log_level: Option<LogLevel>
§pcap_config: Option<PcapConfig>
§send_buf_size: u64
§recv_buf_size: u64
§autotune_send_buf: bool
§autotune_recv_buf: bool
§qdisc: QDiscMode
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HostInfo
impl RefUnwindSafe for HostInfo
impl Send for HostInfo
impl Sync for HostInfo
impl Unpin for HostInfo
impl UnwindSafe for HostInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more