Trait wrpc_interface_keyvalue::Eventual
source · pub trait Eventual: Client {
// Provided methods
fn invoke_delete(
&self,
bucket: String,
key: String
) -> impl Future<Output = Result<(Result<(), String>, Self::Transmission)>> + Send { ... }
fn serve_delete(
&self
) -> impl Future<Output = Result<Self::InvocationStream<(String, String)>>> + Send { ... }
fn invoke_exists(
&self,
bucket: String,
key: String
) -> impl Future<Output = Result<(Result<bool, String>, Self::Transmission)>> + Send { ... }
fn serve_exists(
&self
) -> impl Future<Output = Result<Self::InvocationStream<(String, String)>>> + Send { ... }
fn invoke_get(
&self,
bucket: String,
key: String
) -> impl Future<Output = Result<(Result<Option<IncomingInputStream>, String>, Self::Transmission)>> + Send { ... }
fn serve_get(
&self
) -> impl Future<Output = Result<Self::InvocationStream<(String, String)>>> + Send { ... }
fn invoke_set(
&self,
bucket: String,
key: String,
value: impl Stream<Item = Bytes> + Send + 'static
) -> impl Future<Output = Result<(Result<(), String>, Self::Transmission)>> + Send { ... }
fn serve_set(
&self
) -> impl Future<Output = Result<Self::InvocationStream<(String, String, IncomingInputStream)>>> + Send { ... }
}Provided Methods§
fn invoke_delete( &self, bucket: String, key: String ) -> impl Future<Output = Result<(Result<(), String>, Self::Transmission)>> + Send
fn serve_delete( &self ) -> impl Future<Output = Result<Self::InvocationStream<(String, String)>>> + Send
fn invoke_exists( &self, bucket: String, key: String ) -> impl Future<Output = Result<(Result<bool, String>, Self::Transmission)>> + Send
fn serve_exists( &self ) -> impl Future<Output = Result<Self::InvocationStream<(String, String)>>> + Send
fn invoke_get( &self, bucket: String, key: String ) -> impl Future<Output = Result<(Result<Option<IncomingInputStream>, String>, Self::Transmission)>> + Send
fn serve_get( &self ) -> impl Future<Output = Result<Self::InvocationStream<(String, String)>>> + Send
fn invoke_set( &self, bucket: String, key: String, value: impl Stream<Item = Bytes> + Send + 'static ) -> impl Future<Output = Result<(Result<(), String>, Self::Transmission)>> + Send
fn serve_set( &self ) -> impl Future<Output = Result<Self::InvocationStream<(String, String, IncomingInputStream)>>> + Send
Object Safety§
This trait is not object safe.