pub trait InvokeCallback {
// Required methods
fn operation_complete(&self, response_future: ResponseFuture);
fn operation_succeed(&self, response: RemotingCommand);
fn operation_fail(&self, throwable: Box<dyn Error>);
}pub trait InvokeCallback {
// Required methods
fn operation_complete(&self, response_future: ResponseFuture);
fn operation_succeed(&self, response: RemotingCommand);
fn operation_fail(&self, throwable: Box<dyn Error>);
}