Skip to main content

RangeAuthority

Trait RangeAuthority 

Source
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§

Source

type Error

Range validation error type.

Required Methods§

Source

fn validate_slot( &self, slot: &AllocationSlotDescriptor, ) -> Result<(), Self::Error>

Validate one allocation slot against the authority.

Implementors§