pub trait OpBootstrapEncoder {
// Required methods
fn hello<D>(
&self,
dispatcher: &D,
request: HelloRequest,
) -> impl Future<Output = Result<StandardPendingOp<HelloResponse>>>
where D: Dispatcher;
fn get_error_map<D>(
&self,
dispatcher: &D,
request: GetErrorMapRequest,
) -> impl Future<Output = Result<StandardPendingOp<GetErrorMapResponse>>>
where D: Dispatcher;
fn select_bucket<D>(
&self,
dispatcher: &D,
request: SelectBucketRequest,
) -> impl Future<Output = Result<StandardPendingOp<SelectBucketResponse>>>
where D: Dispatcher;
fn get_cluster_config<D>(
&self,
dispatcher: &D,
request: GetClusterConfigRequest,
) -> impl Future<Output = Result<StandardPendingOp<GetClusterConfigResponse>>>
where D: Dispatcher;
}Required Methods§
fn hello<D>(
&self,
dispatcher: &D,
request: HelloRequest,
) -> impl Future<Output = Result<StandardPendingOp<HelloResponse>>>where
D: Dispatcher,
fn get_error_map<D>(
&self,
dispatcher: &D,
request: GetErrorMapRequest,
) -> impl Future<Output = Result<StandardPendingOp<GetErrorMapResponse>>>where
D: Dispatcher,
fn select_bucket<D>(
&self,
dispatcher: &D,
request: SelectBucketRequest,
) -> impl Future<Output = Result<StandardPendingOp<SelectBucketResponse>>>where
D: Dispatcher,
fn get_cluster_config<D>(
&self,
dispatcher: &D,
request: GetClusterConfigRequest,
) -> impl Future<Output = Result<StandardPendingOp<GetClusterConfigResponse>>>where
D: Dispatcher,
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.