pub trait ClusterOp {
// Required methods
fn member_add<'life0, 'async_trait, R>(
&'life0 self,
req: R,
) -> Pin<Box<dyn Future<Output = Result<MemberAddResponse>> + Send + 'async_trait>>
where R: Into<MemberAddRequest> + Send + 'async_trait,
Self: 'async_trait,
'life0: 'async_trait;
fn member_remove<'life0, 'async_trait, R>(
&'life0 self,
req: R,
) -> Pin<Box<dyn Future<Output = Result<MemberRemoveResponse>> + Send + 'async_trait>>
where R: Into<MemberRemoveRequest> + Send + 'async_trait,
Self: 'async_trait,
'life0: 'async_trait;
fn member_update<'life0, 'async_trait, R>(
&'life0 self,
req: R,
) -> Pin<Box<dyn Future<Output = Result<MemberUpdateResponse>> + Send + 'async_trait>>
where R: Into<MemberUpdateRequest> + Send + 'async_trait,
Self: 'async_trait,
'life0: 'async_trait;
fn member_list<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<MemberListResponse>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
fn member_add<'life0, 'async_trait, R>( &'life0 self, req: R, ) -> Pin<Box<dyn Future<Output = Result<MemberAddResponse>> + Send + 'async_trait>>
fn member_remove<'life0, 'async_trait, R>( &'life0 self, req: R, ) -> Pin<Box<dyn Future<Output = Result<MemberRemoveResponse>> + Send + 'async_trait>>
fn member_update<'life0, 'async_trait, R>( &'life0 self, req: R, ) -> Pin<Box<dyn Future<Output = Result<MemberUpdateResponse>> + Send + 'async_trait>>
fn member_list<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<MemberListResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.