Docs.rs
  • rings-core-0.2.0
    • rings-core 0.2.0
    • Docs.rs crate page
    • GPL-3.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • RyanKung
    • Dependencies
      • arrayref ^0.3.6 normal
      • async-channel ^1.6.1 normal
      • async-lock ^2.5.0 normal
      • async-recursion ^1.0.0 normal
      • async-stream ^0.3.2 normal
      • async-trait ^0.1.52 normal
      • base58-monero ^0.3 normal
      • bincode ^1.3.3 normal
      • bytes ^1.1.0 normal
      • chrono ^0.4.19 normal
      • dashmap ^5 normal
      • flate2 ^1.0.22 normal
      • futures-timer ^3.0.2 normal
      • hex ^0.4.3 normal
      • itertools ^0.10.3 normal
      • js-sys ^0.3.56 normal
      • libsecp256k1 ^0.7.0 normal
      • log ^0.4 normal
      • num-bigint ^0.3.1 normal
      • rand ^0.8.5 normal
      • rand_core ^0.6.3 normal
      • rand_hc ^0.3.1 normal
      • rexie ^0.4.1 normal
      • serde ^1.0.130 normal
      • serde_json ^1.0.70 normal
      • sha1 ^0.10.1 normal
      • sled ^0.34.7 normal
      • thiserror ^1 normal
      • url ^2 normal
      • wasm-bindgen ^0.2.80 normal
      • wasm-bindgen-futures ^0.4.30 normal
      • web-sys ^0.3.56 normal
      • webrtc ^0.4.0 normal
      • console_log ^0.2 dev
      • wasm-bindgen-test ^0.3.0 dev
      • futures ^0.3.21 normal
      • uuid ^0.8.2 normal
      • web3 ^0.18.0 normal
      • tokio ^1.13.0 dev
      • futures ^0.3.21 normal
      • uuid ^0.8.2 normal
      • web3 ^0.18.0 normal
    • Versions
    • 21.88% of the crate is documented
  • Go to latest version
  • Platform
    • 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
logo

logo

Module message

  • Structs
  • Enums
  • Traits
logo
Change settings

Module rings_core::message

source · [−]
Expand description

Message and MessageHandler

Structs

AlreadyConnected
ConnectNodeReport
ConnectNodeSend
CustomMessage
Encoded
FindSuccessorReport
FindSuccessorSend
FoundVNode
JoinDHT
JoinSubRing
LeaveDHT
MessageHandler
MessagePayload
MessageRelay

MessageRelay guide message passing on rings network by relay.

MultiCall
NotifyPredecessorReport
NotifyPredecessorSend
SearchVNode
StoreVNode
SyncVNodeWithSuccessor

Enums

FindSuccessorThen
MaybeEncrypted
Message
OriginVerificationGen
RelayMethod

MessageRelay divides messages into two types by method: SEND and REPORT. And will enable different behaviors when handling SEND and REPORT messages.

Traits

Decoder
Encoder
HandleMsg
MessageCallback
PayloadSender