channel/
lib.rs

1// Copyright (c) The Diem Core Contributors
2// SPDX-License-Identifier: Apache-2.0
3
4// Copyright 2021 Conflux Foundation. All rights reserved.
5// Conflux is free software and distributed under GNU General Public License.
6// See http://www.gnu.org/licenses/
7
8#![forbid(unsafe_code)]
9
10//! `diem_channel` is an mpmc-style channel with per-key queues, providing
11//! load isolation across senders and eviction-on-full semantics (FIFO, LIFO,
12//! or KLAST).
13
14pub mod diem_channel;
15#[cfg(test)]
16mod diem_channel_test;
17
18pub mod message_queues;
19#[cfg(test)]
20mod message_queues_test;