// Copyright 2021 MaidSafe.net limited.
//
// This SAFE Network Software is licensed to you under the MIT license <LICENSE-MIT
// http://opensource.org/licenses/MIT> or the Modified BSD license <LICENSE-BSD
// https://opensource.org/licenses/BSD-3-Clause>, at your option. This file may not be copied,
// modified, or distributed except according to those terms. Please review the Licences for the
// specific language governing permissions and limitations relating to use of the SAFE Network
// Software.
//! The purpose of BRB is to provide a BFT transport for CRDT-esque Data Types.
//!
//! The BRBDataType trait defines the contract such Data Types must fulfill.
//! Typically, an existing CRDT algorithm wiil be wrapped by a struct that
//! implements this trait.
//!
//! Examples of types that implement BRBDataType:
//! brb_dt_orswot, brb_dt_at2, brb_dt_tree
use Error;
use Debug;
use Hash;
use Serialize;
/// The BRBDataType trait