pub struct ValidationCallbackRegistry { /* private fields */ }
Expand description
Registry for managing validation interface callback handlers.
Implementations§
Source§impl ValidationCallbackRegistry
impl ValidationCallbackRegistry
pub fn new() -> Self
pub fn register_block_checked<T>(&mut self, handler: T) -> &mut Selfwhere
T: BlockCheckedCallback + 'static,
Trait Implementations§
Source§impl Default for ValidationCallbackRegistry
impl Default for ValidationCallbackRegistry
Source§fn default() -> ValidationCallbackRegistry
fn default() -> ValidationCallbackRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ValidationCallbackRegistry
impl !RefUnwindSafe for ValidationCallbackRegistry
impl Send for ValidationCallbackRegistry
impl Sync for ValidationCallbackRegistry
impl Unpin for ValidationCallbackRegistry
impl !UnwindSafe for ValidationCallbackRegistry
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