reth_network_types::peers::reputation

Type Alias Reputation

Source
pub type Reputation = i32;
Expand description

The type that tracks the reputation score.

Trait Implementations§

Source§

impl From<ReputationChange> for Reputation

Source§

fn from(value: ReputationChange) -> Self

Converts to this type from the input type.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 4 bytes