File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 5
5
### Added
6
6
- ` network::client::tcp::TcpStream ` not supports async connection, provided with ` connect_async ` and ` connect_timeout_async ` methods
7
7
8
- ### Fixes
8
+ ### Changed
9
+ - ` error::Result ` type alias now has another generic parameter E, which defaults
10
+ to ` tarantool::error::Error ` , but allows this type alias to be used as a drop
11
+ in replacement from ` std::result::Result ` .
12
+
13
+ ### Fixed
9
14
- ` network::client::tcp::TcpStream ` does not close underlying fd anymore. Now fd will be closed only when the last copy of tcp stream is dropped.
10
15
11
16
### Deprecated
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ use crate::transaction::TransactionError;
33
33
use crate :: util:: to_cstring_lossy;
34
34
35
35
/// A specialized [`Result`] type for the crate
36
- pub type Result < T > = std:: result:: Result < T , Error > ;
36
+ pub type Result < T , E = Error > = std:: result:: Result < T , E > ;
37
37
38
38
pub type TimeoutError < E > = crate :: fiber:: r#async:: timeout:: Error < E > ;
39
39
You can’t perform that action at this time.
0 commit comments