Struct libqaul::storage::configuration::RoutingOptions
source · [−]pub struct RoutingOptions {
pub sending_table_period: u64,
pub ping_neighbour_period: u64,
pub hop_count_penalty: u64,
pub maintain_period_limit: u64,
}
Expand description
Routing Configuration Options
The following options can be configured: All units are second because rtt is measured as micro seconds
- routing options
Fields
sending_table_period: u64
ping_neighbour_period: u64
hop_count_penalty: u64
maintain_period_limit: u64
Trait Implementations
sourceimpl Clone for RoutingOptions
impl Clone for RoutingOptions
sourcefn clone(&self) -> RoutingOptions
fn clone(&self) -> RoutingOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RoutingOptions
impl Debug for RoutingOptions
sourceimpl Default for RoutingOptions
impl Default for RoutingOptions
sourceimpl<'de> Deserialize<'de> for RoutingOptions
impl<'de> Deserialize<'de> for RoutingOptions
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for RoutingOptions
impl Serialize for RoutingOptions
Auto Trait Implementations
impl RefUnwindSafe for RoutingOptions
impl Send for RoutingOptions
impl Sync for RoutingOptions
impl Unpin for RoutingOptions
impl UnwindSafe for RoutingOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more