Trait sov_modules_api::ValidityCondition
source · pub trait ValidityCondition: Serialize + DeserializeOwned + BorshDeserialize + BorshSerialize + Debug + Clone + Copy + PartialEq<Self> + Send + Sync + Eq {
type Error: Into<Error>;
// Required method
fn combine<H>(&self, rhs: Self) -> Result<Self, Self::Error>
where H: Digest;
}Expand description
This trait is implemented on the struct/enum which expresses the validity condition
Required Associated Types§
sourcetype Error: Into<Error>
type Error: Into<Error>
The error type returned when two ValidityConditions cannot be combined.