Struct solana_rpc::rpc_health::RpcHealth [−][src]
pub struct RpcHealth { /* fields omitted */ }
Implementations
pub fn new(
cluster_info: Arc<ClusterInfo>,
trusted_validators: Option<HashSet<Pubkey>>,
health_check_slot_distance: u64,
override_health_check: Arc<AtomicBool>
) -> Self
Auto Trait Implementations
impl RefUnwindSafe for RpcHealth
impl UnwindSafe for RpcHealth
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more