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<impl Stream<Item = Result<AcceptedInvocation<<Self as Client>::Context, (String, String), <Self as Client>::Subject, <<Self as Client>::Acceptor as Acceptor>::Transmitter>>> + Send>> + 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<impl Stream<Item = Result<AcceptedInvocation<<Self as Client>::Context, (String, String), <Self as Client>::Subject, <<Self as Client>::Acceptor as Acceptor>::Transmitter>>> + Send>> + 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<impl Stream<Item = Result<AcceptedInvocation<<Self as Client>::Context, (String, String), <Self as Client>::Subject, <<Self as Client>::Acceptor as Acceptor>::Transmitter>>> + Send>> + 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<impl Stream<Item = Result<AcceptedInvocation<<Self as Client>::Context, (String, String, IncomingInputStream), <Self as Client>::Subject, <<Self as Client>::Acceptor as Acceptor>::Transmitter>>> + Send>> + 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<impl Stream<Item = Result<AcceptedInvocation<<Self as Client>::Context, (String, String), <Self as Client>::Subject, <<Self as Client>::Acceptor as Acceptor>::Transmitter>>> + Send>> + 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<impl Stream<Item = Result<AcceptedInvocation<<Self as Client>::Context, (String, String), <Self as Client>::Subject, <<Self as Client>::Acceptor as Acceptor>::Transmitter>>> + Send>> + 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<impl Stream<Item = Result<AcceptedInvocation<<Self as Client>::Context, (String, String), <Self as Client>::Subject, <<Self as Client>::Acceptor as Acceptor>::Transmitter>>> + Send>> + 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<impl Stream<Item = Result<AcceptedInvocation<<Self as Client>::Context, (String, String, IncomingInputStream), <Self as Client>::Subject, <<Self as Client>::Acceptor as Acceptor>::Transmitter>>> + Send>> + Send
Object Safety§
This trait is not object safe.