Struct etcd_client::MaintenanceClient [−][src]
#[repr(transparent)]pub struct MaintenanceClient { /* fields omitted */ }
Client for maintenance operations.
Implementations
impl MaintenanceClient
[src]
impl MaintenanceClient
[src]pub async fn alarm(
&mut self,
alarm_action: AlarmAction,
alarm_type: AlarmType,
options: Option<AlarmOptions>
) -> Result<AlarmResponse, Error>
[src]
&mut self,
alarm_action: AlarmAction,
alarm_type: AlarmType,
options: Option<AlarmOptions>
) -> Result<AlarmResponse, Error>
Get or active or inactive alarm.
pub async fn status(&mut self) -> Result<StatusResponse, Error>
[src]
Get status of a member.
pub async fn defragment(&mut self) -> Result<DefragmentResponse, Error>
[src]
Defragment a member’s backend database to recover storage space.
pub async fn hash(&mut self) -> Result<HashResponse, Error>
[src]
Computes the hash of whole backend keyspace. including key, lease, and other buckets in storage. This is designed for testing ONLY!
pub async fn hash_kv(&mut self, revision: i64) -> Result<HashKvResponse, Error>
[src]
Computes the hash of all MVCC keys up to a given revision. It only iterates "key" bucket in backend storage.
pub async fn snapshot(&mut self) -> Result<SnapshotStreaming, Error>
[src]
Gets a snapshot of the entire backend from a member over a stream to a client.
pub async fn move_leader(
&mut self,
target_id: u64
) -> Result<MoveLeaderResponse, Error>
[src]
&mut self,
target_id: u64
) -> Result<MoveLeaderResponse, Error>
Moves the current leader node to target node.
Trait Implementations
impl Clone for MaintenanceClient
[src]
impl Clone for MaintenanceClient
[src]fn clone(&self) -> MaintenanceClient
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl !RefUnwindSafe for MaintenanceClient
impl !RefUnwindSafe for MaintenanceClient
impl Send for MaintenanceClient
impl Send for MaintenanceClient
impl Sync for MaintenanceClient
impl Sync for MaintenanceClient
impl Unpin for MaintenanceClient
impl Unpin for MaintenanceClient
impl !UnwindSafe for MaintenanceClient
impl !UnwindSafe for MaintenanceClient
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> IntoRequest<T> for T
[src]
impl<T> IntoRequest<T> for T
[src]pub fn into_request(self) -> Request<T>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,