pub struct MiniNodeConfig {
pub app_name: &'static str,
pub aspect: &'static str,
pub announce_interval_ms: u64,
pub max_neighbors: usize,
pub max_recent_messages: usize,
pub max_outbound_frames: usize,
pub max_telemetry_points: usize,
pub max_events: usize,
}Fields§
§app_name: &'static str§aspect: &'static str§announce_interval_ms: u64§max_neighbors: usize§max_recent_messages: usize§max_outbound_frames: usize§max_telemetry_points: usize§max_events: usizeTrait Implementations§
Source§impl Clone for MiniNodeConfig
impl Clone for MiniNodeConfig
Source§fn clone(&self) -> MiniNodeConfig
fn clone(&self) -> MiniNodeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MiniNodeConfig
Source§impl Debug for MiniNodeConfig
impl Debug for MiniNodeConfig
Source§impl Default for MiniNodeConfig
impl Default for MiniNodeConfig
impl Eq for MiniNodeConfig
Source§impl PartialEq for MiniNodeConfig
impl PartialEq for MiniNodeConfig
Source§fn eq(&self, other: &MiniNodeConfig) -> bool
fn eq(&self, other: &MiniNodeConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MiniNodeConfig
Auto Trait Implementations§
impl Freeze for MiniNodeConfig
impl RefUnwindSafe for MiniNodeConfig
impl Send for MiniNodeConfig
impl Sync for MiniNodeConfig
impl Unpin for MiniNodeConfig
impl UnsafeUnpin for MiniNodeConfig
impl UnwindSafe for MiniNodeConfig
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