swarm/src/behaviour: Move Toggle into swarm::behaviour (#2375)

Co-authored-by: Max Inden <mail@max-inden.de>
This commit is contained in:
Benoit Verkindt
2021-12-09 03:00:47 -08:00
committed by GitHub
parent cf271bcf5a
commit dd9e0a14de
4 changed files with 9 additions and 5 deletions

View File

@ -53,15 +53,14 @@
//! are supported, when to open a new outbound substream, etc.
//!
mod behaviour;
mod registry;
#[cfg(test)]
mod test;
mod upgrade;
pub mod behaviour;
pub mod dial_opts;
pub mod protocols_handler;
pub mod toggle;
pub use behaviour::{
CloseConnection, NetworkBehaviour, NetworkBehaviourAction, NetworkBehaviourEventProcess,