pub struct ClusterControlClient { /* private fields */ }Implementations§
Source§impl ClusterControlClient
impl ClusterControlClient
pub fn new( config: ClusterControlClientConfig, ) -> Result<Self, ClusterControlClientError>
pub async fn initialize_collection( &self, request_id: &str, body: impl Serialize, ) -> Result<Value, ClusterControlClientError>
pub async fn activate_collection( &self, request_id: &str, body: impl Serialize, ) -> Result<Value, ClusterControlClientError>
pub async fn resolve_collection( &self, request_id: &str, body: impl Serialize, ) -> Result<Value, ClusterControlClientError>
pub async fn inspect_collection_retirement( &self, request_id: &str, body: impl Serialize, ) -> Result<Value, ClusterControlClientError>
pub async fn retire_collection( &self, request_id: &str, body: impl Serialize, ) -> Result<Value, ClusterControlClientError>
pub async fn observe_capacity( &self, request_id: &str, ) -> Result<Value, ClusterControlClientError>
pub async fn observe_resource_diagnostics( &self, request_id: &str, body: impl Serialize, ) -> Result<Value, ClusterControlClientError>
pub async fn reserve_credential_rotation( &self, request_id: &str, body: impl Serialize, ) -> Result<Value, ClusterControlClientError>
pub async fn activate_credential_rotation( &self, request_id: &str, body: impl Serialize, ) -> Result<Value, ClusterControlClientError>
pub async fn revoke_credential( &self, request_id: &str, body: impl Serialize, ) -> Result<Value, ClusterControlClientError>
pub async fn resolve_credential( &self, request_id: &str, body: impl Serialize, ) -> Result<Value, ClusterControlClientError>
pub async fn list_backups( &self, request_id: &str, ) -> Result<Value, ClusterControlClientError>
pub async fn get_backup( &self, request_id: &str, body: impl Serialize, ) -> Result<Value, ClusterControlClientError>
pub async fn create_backup( &self, request_id: &str, body: impl Serialize, ) -> Result<Value, ClusterControlClientError>
pub async fn resolve_backup( &self, request_id: &str, body: impl Serialize, ) -> Result<Value, ClusterControlClientError>
pub async fn restore_readiness( &self, request_id: &str, ) -> Result<Value, ClusterControlClientError>
pub async fn prepare_offline_recovery( &self, request_id: &str, body: impl Serialize, ) -> Result<Value, ClusterControlClientError>
pub async fn call( &self, action: ClusterControlActionV1, request_id: &str, body: impl Serialize, ) -> Result<Value, ClusterControlClientError>
Auto Trait Implementations§
impl !RefUnwindSafe for ClusterControlClient
impl !UnwindSafe for ClusterControlClient
impl Freeze for ClusterControlClient
impl Send for ClusterControlClient
impl Sync for ClusterControlClient
impl Unpin for ClusterControlClient
impl UnsafeUnpin for ClusterControlClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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::Request