pub trait AdminStore: Send {
type Request: Send;
type Response: Send;
// Required method
fn execute_admin(
&mut self,
request: Self::Request,
) -> impl Future<Output = Result<Self::Response, StoreError>> + Send;
}Expand description
Administrative storage capability with implementation-owned values.
Required Associated Types§
Required Methods§
Sourcefn execute_admin(
&mut self,
request: Self::Request,
) -> impl Future<Output = Result<Self::Response, StoreError>> + Send
fn execute_admin( &mut self, request: Self::Request, ) -> impl Future<Output = Result<Self::Response, StoreError>> + Send
Executes one bounded administrative operation.
§Errors
Returns StoreError with crate::StoreOperation::Admin when the
administrative operation fails.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".