Docs.rs
tarpc-json-transport-0.1.0
tarpc-json-transport 0.1.0
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
tikue
Dependencies
futures-preview ^0.3.0-alpha.18
normal
futures ^0.1
normal
pin-utils ^0.1.0-alpha.4
normal
serde ^1.0
normal
serde_json ^1.0
normal
tokio ^0.1
normal
tokio-io ^0.1
normal
tokio-serde-json ^0.2
normal
tokio-tcp ^0.1
normal
assert_matches ^1.0
dev
futures-test-preview ^0.3.0-alpha.18
dev
Versions
100%
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
tarpc_
json_
transport
0.1.0
All Items
Crate Items
Structs
Functions
Crate
tarpc_json_transport
Copy item path
Source
Expand description
A TCP
Transport
that serializes as JSON.
Structs
§
Incoming
A
TcpListener
that wraps connections in JSON transports.
Transport
A transport that serializes to, and deserializes from, a
TcpStream
.
Functions
§
connect
Connects to
addr
, wrapping the connection in a JSON transport.
listen
Listens on
addr
, wrapping accepted connections in JSON transports.
new
Returns a new JSON transport that reads from and writes to
io
.