Crates.io | monoio-io-wrapper |
lib.rs | monoio-io-wrapper |
version | 0.1.1 |
source | src |
created_at | 2023-05-16 08:49:51.691064 |
updated_at | 2023-11-15 18:17:10.548734 |
description | A read/write wrapper to bridge sync and async io |
homepage | https://github.com/monoio-rs/monoio-tls |
repository | https://github.com/monoio-rs/monoio-tls |
max_upload_size | |
id | 865916 |
size | 19,776 |
= Monoio IO Wrapper An io wrapper to bind std io and monoio async io.
|=== |Return |do_io |read / write
.2+|SafeIO .2+| Current async r/w result | 1. WouldBlock: Empty(r) or Full(w) and need calling do_io
|2. Other: success io or last do_io
error
.2+|UnsafeIO | 1. WouldBlock: Not capture mem block info, need calling read
/ write
| 1. WouldBlock: mem block info is captured and need calling do_io
|2. Other: current async r/w result | 2. Other: success io or last do_io
error
|===