Trait ToFieldsLightClientCompat

Source
pub trait ToFieldsLightClientCompat {
    const SIZE: usize;

    // Required method
    fn to_fields(&self) -> Vec<CircuitField>;
}
Expand description

This trait is for light client use. It converts the stake table items into field elements. These items will then be digested into a part of the light client state.

Required Associated Constants§

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§