lizhanhui commented on code in PR #487:
URL: https://github.com/apache/rocketmq-clients/pull/487#discussion_r1173262427
##########
rust/src/client.rs:
##########
@@ -28,14 +28,14 @@ use tokio::sync::oneshot;
use crate::conf::ClientOption;
use crate::error::{ClientError, ErrorKind};
-use crate::model::common::{ClientType, Endpoints, Route, RouteStatus};
+use crate::model::common::{ClientType, Endpoints, Route, RouteStatus,
SendResult};
Review Comment:
5.x, we rename SendResult to SendReceipt.
In Rust, we should use Result<SendReceipt, XxxError> to represent the
semantics of Send Result.
aka, using something like
```
pub type SendResult = Result<SendReceipt, YourError>;
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]