Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Benestar/rust-chord
/ types & classes
Types & classes
32 in github.com/Benestar/rust-chord
⨍
Functions
109
◇
Types & classes
32
↓ 4 callers
Class
Identifier
src/routing/identifier.rs:27
↓ 3 callers
Class
DhtPut
src/message/api.rs:24
↓ 2 callers
Class
StorageFailure
src/message/p2p.rs:63
↓ 1 callers
Class
DhtFailure
src/message/api.rs:57
↓ 1 callers
Class
DhtGet
src/message/api.rs:38
↓ 1 callers
Class
DhtSuccess
src/message/api.rs:47
↓ 1 callers
Class
PeerFind
src/message/p2p.rs:73
↓ 1 callers
Class
PeerFound
src/message/p2p.rs:84
↓ 1 callers
Class
PredecessorNotify
src/message/p2p.rs:93
↓ 1 callers
Class
PredecessorReply
src/message/p2p.rs:102
↓ 1 callers
Class
StorageGet
src/message/p2p.rs:16
↓ 1 callers
Class
StorageGetSuccess
src/message/p2p.rs:39
↓ 1 callers
Class
StoragePut
src/message/p2p.rs:27
↓ 1 callers
Class
StoragePutSuccess
src/message/p2p.rs:52
Class
ApiHandler
Handler for api requests The supported incoming api messages are `DHT GET` and `DHT PUT`.
src/handler/api.rs:18
Class
Bootstrap
Basic information needed to connect to the network using a bootstrap peer
src/stabilization.rs:16
Class
Config
src/config.rs:6
Class
Connection
A connection between two peers to send Message objects via TCP # Examples ```no_run # use chord::network::Connection; # let mut con = Connection::op
src/network.rs:35
Class
IdentifierValue
src/routing/identifier.rs:189
Interface
Identify
Trait to obtain an identifier from a data structure
src/routing/identifier.rs:148
Class
Key
src/storage.rs:4
Enum
Message
src/message/mod.rs:49
Class
MessageError
src/error.rs:21
Interface
MessagePayload
src/message/mod.rs:263
Class
Opt
src/bin/dht.rs:20
Class
Opt
src/bin/api.rs:21
Class
P2PHandler
Handler for peer-to-peer requests The supported incoming peer-to-peer messages are `STORAGE GET`, `STORAGE PUT`, `PEER FIND`, `PREDECESSOR GET` and `
src/handler/p2p.rs:20
Class
Procedures
src/procedures.rs:11
Class
Routing
src/routing/mod.rs:28
Class
Server
A multithreaded server waiting for connections # Examples ```no_run # use chord::network::*; # use std::io; # # struct TestHandler; # impl ServerHan
src/network.rs:213
Interface
ServerHandler
A trait to handle incoming requests from a [`Server`]. The methods [`handle_connection`] and [`handle_error`] are called based on the success of the
src/network.rs:152
Class
Stabilization
Stabilize the [`Routing`] table in regular intervals [`Routing`]: ../routing/struct.Routing.html
src/stabilization.rs:60