pub trait RangeAuthority {
type Error;
// Required method
fn validate_slot(
&self,
slot: &AllocationSlotDescriptor,
) -> Result<(), Self::Error>;
}Expand description
RangeAuthority
Optional substrate-specific range authority validation.
Required Associated Types§
Required Methods§
Sourcefn validate_slot(
&self,
slot: &AllocationSlotDescriptor,
) -> Result<(), Self::Error>
fn validate_slot( &self, slot: &AllocationSlotDescriptor, ) -> Result<(), Self::Error>
Validate one allocation slot against the authority.