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