Docs.rs
connection-utils-0.8.0
connection-utils 0.8.0
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
legomushroom
Dependencies
anyhow ^1
normal
async-trait ^0.1
normal
bytes ^1
normal
cs-trace ^0.12
normal
cs-utils ^0.21
normal
futures ^0.3
normal
serde ^1
normal
serde_json ^1
normal
tokio ^1
normal
tokio-util ^0.7
normal
bytes ^1
dev
criterion ^0.3.0
dev
rstest ^0.15.0
dev
tokio ^1
dev
Versions
27.08%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
connection_
utils
0.8.0
Module test
Module Items
Structs
Enums
Functions
In crate connection_
utils
connection_utils
Module
test
Copy item path
Source
Structs
§
Test
Options
Options for
test_framed_stream
/
test_async_stream
utilities.
Enums
§
Test
Stream
Message
A test message for framed stream testing purposes.
Functions
§
create_
debug_
string
Creates a debug string of the given length. The string will be composed of predictable characters sequence so it easy to follow data transfer flow.
test_
async_
stream
Test an
AsyncRead + AsyncWrite
stream data transfer
test_
async_
stream_
pinned
test_
framed_
stream
Test data transfer in a framed stream. First passes data in
forward
direction and validates that all data trassfered without issues. Then make another pass in
backward
direction with the same validation.
test_
stream
Test asynchronous duplex with both
framed
and raw
binary
streams.