pub struct SectorValidatorRegistry { /* private fields */ }Expand description
Registry of runtime sector validators, keyed by catalog sector key.
An empty registry (the default) causes SectorData::Other to fail
validation with an “unknown sector” error — silent pass-through is not safe.
Implementations§
Trait Implementations§
Source§impl Default for SectorValidatorRegistry
impl Default for SectorValidatorRegistry
Source§fn default() -> SectorValidatorRegistry
fn default() -> SectorValidatorRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for SectorValidatorRegistry
impl !UnwindSafe for SectorValidatorRegistry
impl Freeze for SectorValidatorRegistry
impl Send for SectorValidatorRegistry
impl Sync for SectorValidatorRegistry
impl Unpin for SectorValidatorRegistry
impl UnsafeUnpin for SectorValidatorRegistry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more