[−][src]Struct in3_sys::in3_node_weight
Weight or reputation of a node.
Based on the past performance of the node a weight is calculated given faster nodes a higher weight and chance when selecting the next node from the nodelist. These weights will also be stored in the cache (if available)
Fields
response_count: u32< counter for responses
total_response_time: u32< total of all response times
blacklisted_until: u64< if >0 this node is blacklisted until k. k is a unix timestamp
Trait Implementations
impl Clone for in3_node_weight[src]
fn clone(&self) -> in3_node_weight[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for in3_node_weight[src]
impl Debug for in3_node_weight[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,