Struct etcd_client::MaintenanceClient [−][src]
#[repr(transparent)]pub struct MaintenanceClient { /* fields omitted */ }
Expand description
Client for maintenance operations.
Implementations
pub async fn alarm(
&mut self,
alarm_action: AlarmAction,
alarm_type: AlarmType,
options: Option<AlarmOptions>
) -> Result<AlarmResponse, Error>
pub async fn alarm(
&mut self,
alarm_action: AlarmAction,
alarm_type: AlarmType,
options: Option<AlarmOptions>
) -> Result<AlarmResponse, Error>
Get or active or inactive alarm.
Get status of a member.
Defragment a member’s backend database to recover storage space.
Computes the hash of whole backend keyspace. including key, lease, and other buckets in storage. This is designed for testing ONLY!
Computes the hash of all MVCC keys up to a given revision. It only iterates "key" bucket in backend storage.
Gets a snapshot of the entire backend from a member over a stream to a client.
Moves the current leader node to target node.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for MaintenanceClient
impl Send for MaintenanceClient
impl Sync for MaintenanceClient
impl Unpin for MaintenanceClient
impl !UnwindSafe for MaintenanceClient
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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