rings-node 0.20.0

Rings is a structured peer-to-peer network implementation using WebRTC, Chord algorithm, and full WebAssembly (WASM) support.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use bytes::Bytes;

use crate::onion::OnionExitFailure;

#[derive(Debug)]
pub(super) enum TcpInbound {
    Data(Bytes),
    Shutdown,
    Close,
    Error(OnionExitFailure),
}