Trait flow_sdk::client::GrpcClient [−][src]
pub trait GrpcClient<I, O> {
type Error: Into<Box<dyn Error + Send + Sync>>;
fn send<'a>(
&'a mut self,
input: I
) -> Pin<Box<dyn Future<Output = Result<O, Self::Error>> + 'a>>;
}
Expand description
A gRPC client trait.
Implementors should be generic over the input and output types, but it is not required.