pub struct AdminRpcClient { /* private fields */ }Expand description
The Client.
Implementations§
source§impl Client
impl Client
pub fn exit(&self) -> impl Future<Output = RpcResult<()>>
pub fn rpc_addr(&self) -> impl Future<Output = RpcResult<Option<SocketAddr>>>
pub fn set_log_filter( &self, filter: String ) -> impl Future<Output = RpcResult<()>>
pub fn start_time(&self) -> impl Future<Output = RpcResult<SystemTime>>
pub fn start_progress( &self ) -> impl Future<Output = RpcResult<ValidatorStartProgress>>
pub fn set_identity( &self, keypair_file: String, require_tower: bool ) -> impl Future<Output = RpcResult<()>>
pub fn set_identity_from_bytes( &self, identity_keypair: Vec<u8>, require_tower: bool ) -> impl Future<Output = RpcResult<()>>
pub fn set_staked_nodes_overrides( &self, path: String ) -> impl Future<Output = RpcResult<()>>
pub fn contact_info( &self ) -> impl Future<Output = RpcResult<AdminRpcContactInfo>>
pub fn repair_whitelist( &self ) -> impl Future<Output = RpcResult<AdminRpcRepairWhitelist>>
pub fn set_repair_whitelist( &self, whitelist: Vec<Pubkey> ) -> impl Future<Output = RpcResult<()>>
pub fn get_secondary_index_key_size( &self, pubkey_str: String ) -> impl Future<Output = RpcResult<HashMap<RpcAccountIndex, usize>>>
pub fn get_largest_index_keys( &self, secondary_index: RpcAccountIndex, max_entries: usize ) -> impl Future<Output = RpcResult<Vec<(String, usize)>>>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Requestsource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request