pub trait WireValue: Copy + PartialEq + Debug + Serialize {
    fn is_zero(&self) -> bool;
fn to_le_bytes(&self) -> [u8; 8]; }
Expand description

Implemented for acceptable types to use as wire values. It would be nice if this could just be a set of required traits, but num_traits::is_zero isn’t implemented for bool.

Required methods

Implementations on Foreign Types

Implementors