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 { ... }
}
Required Methods§
fn check(&self) -> Result<(), SerializationError>
Provided Methods§
fn batch_check<'a>(
batch: impl Iterator<Item = &'a Self> + Send
) -> Result<(), SerializationError>where
Self: 'a,
Object Safety§
This trait is not object safe.