#[repr(C)]pub struct kernel_ValidationInterfaceCallbacks {
pub user_data: *const c_void,
pub block_checked: kernel_ValidationInterfaceBlockChecked,
}
Expand description
Holds the validation interface callbacks. The user data pointer may be used to point to user-defined structures to make processing the validation callbacks easier. Note that these callbacks block any further validation execution when they are called.
Fields§
§user_data: *const c_void
!< Holds a user-defined opaque structure that is passed to the validation !< interface callbacks.
block_checked: kernel_ValidationInterfaceBlockChecked
!< Called when a new block has been checked. Contains the !< result of its validation.
Trait Implementations§
Source§impl Clone for kernel_ValidationInterfaceCallbacks
impl Clone for kernel_ValidationInterfaceCallbacks
Source§fn clone(&self) -> kernel_ValidationInterfaceCallbacks
fn clone(&self) -> kernel_ValidationInterfaceCallbacks
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for kernel_ValidationInterfaceCallbacks
Auto Trait Implementations§
impl Freeze for kernel_ValidationInterfaceCallbacks
impl RefUnwindSafe for kernel_ValidationInterfaceCallbacks
impl !Send for kernel_ValidationInterfaceCallbacks
impl !Sync for kernel_ValidationInterfaceCallbacks
impl Unpin for kernel_ValidationInterfaceCallbacks
impl UnwindSafe for kernel_ValidationInterfaceCallbacks
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