Trait snarkvm_utilities::serialize::Valid
source · pub trait Valid: Sized + Sync {
fn check(&self) -> Result<(), SerializationError>;
fn batch_check<'a>(
batch: impl Iterator<Item = &'a Self> + Send
) -> Result<(), SerializationError>
where
Self: 'a,
{ ... }
}