pub trait Eventual: Client {
    // Provided methods
    fn invoke_delete(
        &self,
        bucket: &str,
        key: &str
    ) -> impl Future<Output = Result<(Result<(), String>, Self::Transmission)>> + Send { ... }
    fn serve_delete(
        &self
    ) -> impl Future<Output = Result<Self::InvocationStream<Self::Context, (String, String), <Self::Acceptor as Acceptor>::Transmitter>>> + Send { ... }
    fn invoke_exists(
        &self,
        bucket: &str,
        key: &str
    ) -> impl Future<Output = Result<(Result<bool, String>, Self::Transmission)>> + Send { ... }
    fn serve_exists(
        &self
    ) -> impl Future<Output = Result<Self::InvocationStream<Self::Context, (String, String), <Self::Acceptor as Acceptor>::Transmitter>>> + Send { ... }
    fn invoke_get(
        &self,
        bucket: &str,
        key: &str
    ) -> impl Future<Output = Result<(Result<Option<IncomingInputStream>, String>, Self::Transmission)>> + Send { ... }
    fn serve_get(
        &self
    ) -> impl Future<Output = Result<Self::InvocationStream<Self::Context, (String, String), <Self::Acceptor as Acceptor>::Transmitter>>> + Send { ... }
    fn invoke_set(
        &self,
        bucket: &str,
        key: &str,
        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<Self::Context, (String, String, IncomingInputStream), <Self::Acceptor as Acceptor>::Transmitter>>> + Send { ... }
}

Provided Methods§

source

fn invoke_delete( &self, bucket: &str, key: &str ) -> impl Future<Output = Result<(Result<(), String>, Self::Transmission)>> + Send

source

fn serve_delete( &self ) -> impl Future<Output = Result<Self::InvocationStream<Self::Context, (String, String), <Self::Acceptor as Acceptor>::Transmitter>>> + Send

source

fn invoke_exists( &self, bucket: &str, key: &str ) -> impl Future<Output = Result<(Result<bool, String>, Self::Transmission)>> + Send

source

fn serve_exists( &self ) -> impl Future<Output = Result<Self::InvocationStream<Self::Context, (String, String), <Self::Acceptor as Acceptor>::Transmitter>>> + Send

source

fn invoke_get( &self, bucket: &str, key: &str ) -> impl Future<Output = Result<(Result<Option<IncomingInputStream>, String>, Self::Transmission)>> + Send

source

fn serve_get( &self ) -> impl Future<Output = Result<Self::InvocationStream<Self::Context, (String, String), <Self::Acceptor as Acceptor>::Transmitter>>> + Send

source

fn invoke_set( &self, bucket: &str, key: &str, value: impl Stream<Item = Bytes> + Send + 'static ) -> impl Future<Output = Result<(Result<(), String>, Self::Transmission)>> + Send

source

fn serve_set( &self ) -> impl Future<Output = Result<Self::InvocationStream<Self::Context, (String, String, IncomingInputStream), <Self::Acceptor as Acceptor>::Transmitter>>> + Send

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Client> Eventual for T