Registry / networking / libp2prs-traits

libp2prs-traits

JSON →
library0.2.2rscratesunverified

Read/Write traits for the libp2p-rs networking stack.

# Cargo.toml [dependencies] libp2prs-traits = "0.2.2"
INSTALL
IMPORT
SIG · LIBP2PRS-TRAITS
L
libp2prs-traits
networkingrustv0.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ReadWrite
use libp2prs_traits::ReadWrite;

Use the ReadWrite trait for I/O operations in libp2p-rs.

use libp2prs_traits::ReadWrite; fn main() { // ReadWrite trait is implemented by types println!("ReadWrite trait available"); }
Debug
Known issues
breakingThis crate is part of the libp2p-rs project, which may have breaking changes as it evolves.
fix
Pin to a specific version and monitor the repository for updates.
affects: >=0.2.0
Upgrade
Version history
0.2.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
libp2prs-traits — cargo add libp2prs-traits · libregistry