Trait sc_network::multiaddr::multihash::typenum::bit::Bit[]

pub trait Bit: Copy + Default {
    const U8: u8;
    const BOOL: bool;

    fn to_u8() -> u8;
fn to_bool() -> bool; }
Expand description

The marker trait for compile time bits.

This trait should not be implemented for anything outside this crate.

Associated Constants

Required methods

Implementors