mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-03 04:07:23 +00:00
7a04055814
* Open one substream for each notifications protocol * Fix WASM build * Apply suggestions from code review Co-Authored-By: Toralf Wittner <tw@dtex.org> * Address concerns * Use unsigned-varint to read the varint * Use unsigned-varint * Forgot Cargo.lock Co-authored-by: Toralf Wittner <tw@dtex.org>
36 lines
1.1 KiB
Rust
36 lines
1.1 KiB
Rust
// Copyright 2018-2020 Parity Technologies (UK) Ltd.
|
|
// This file is part of Substrate.
|
|
|
|
// Substrate is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
|
|
// Substrate is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
pub use self::collec::UpgradeCollec;
|
|
pub use self::legacy::{
|
|
RegisteredProtocol,
|
|
RegisteredProtocolEvent,
|
|
RegisteredProtocolName,
|
|
RegisteredProtocolSubstream
|
|
};
|
|
pub use self::notifications::{
|
|
NotificationsIn,
|
|
NotificationsInSubstream,
|
|
NotificationsOut,
|
|
NotificationsOutSubstream,
|
|
NotificationsHandshakeError,
|
|
NotificationsOutError,
|
|
};
|
|
|
|
mod collec;
|
|
mod legacy;
|
|
mod notifications;
|