pub struct DeploymentConfig {
pub max_nodes: usize,
pub max_stations_per_node: usize,
pub stale_after_ticks: u64,
}Expand description
Deployment route table configuration.
Fields§
§max_nodes: usizeMaximum registered nodes.
max_stations_per_node: usizeMaximum stations accepted by one node unless the node advertises a lower capacity.
stale_after_ticks: u64Ticks without heartbeat before a node is considered stale.
Trait Implementations§
Source§impl Clone for DeploymentConfig
impl Clone for DeploymentConfig
Source§fn clone(&self) -> DeploymentConfig
fn clone(&self) -> DeploymentConfig
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 DeploymentConfig
Source§impl Debug for DeploymentConfig
impl Debug for DeploymentConfig
Source§impl Default for DeploymentConfig
impl Default for DeploymentConfig
impl Eq for DeploymentConfig
Source§impl PartialEq for DeploymentConfig
impl PartialEq for DeploymentConfig
impl StructuralPartialEq for DeploymentConfig
Auto Trait Implementations§
impl Freeze for DeploymentConfig
impl RefUnwindSafe for DeploymentConfig
impl Send for DeploymentConfig
impl Sync for DeploymentConfig
impl Unpin for DeploymentConfig
impl UnsafeUnpin for DeploymentConfig
impl UnwindSafe for DeploymentConfig
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