[−][src]Struct hyparview::NodeOptions
Options for HyParView Node.
Fields
max_active_view_size: u8
Maximum number of nodes in the active view.
max_passive_view_size: u8
Maximum number of nodes in the passive view.
shuffle_active_view_size: u8
Protocol parameter that is called ka
in the paper.
shuffle_passive_view_size: u8
Protocol parameter that is called kp
in the paper.
active_random_walk_len: u8
Protocol parameter that is called ARWL
in the paper.
This is the initial TTL value for ForwardJoin
and Shuffle
messages.
passive_random_walk_len: u8
Protocol parameter that is called PRWL
in the paper.
If TTL is equal to the value,
Methods
impl NodeOptions
[src]
pub const DEFAULT_MAX_ACTIVE_VIEW_SIZE: u8
[src]
The default value of max_active_view_size
field.
pub const DEFAULT_MAX_PASSIVE_VIEW_SIZE: u8
[src]
The default value of max_passive_view_size
field.
pub const DEFAULT_SHUFFLE_ACTIVE_VIEW_SIZE: u8
[src]
The default value of shuffle_active_view_size
field.
pub const DEFAULT_SHUFFLE_PASSIVE_VIEW_SIZE: u8
[src]
The default value of shuffle_passive_view_size
field.
pub const DEFAULT_ACTIVE_RANDOM_WALK_LEN: u8
[src]
The default value of active_random_walk_len
field.
pub const DEFAULT_PASSIVE_RANDOM_WALK_LEN: u8
[src]
The default value of passive_random_walk_len
field.
Trait Implementations
impl Clone for NodeOptions
[src]
fn clone(&self) -> NodeOptions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for NodeOptions
[src]
impl Debug for NodeOptions
[src]
Auto Trait Implementations
impl Send for NodeOptions
impl Sync for NodeOptions
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,