Skip to main content

ProverMessage

Trait ProverMessage 

Source
pub trait ProverMessage<U = [u8]>:
    NargDeserialize
    + NargSerialize
    + Encoding<U>
where U: ?Sized,
{ }
Expand description

Marker trait for types that can be used as prover messages.

Like spongefish::Codec, but without the Encoding<T> requirement.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T, U> ProverMessage<U> for T