#[non_exhaustive]pub struct ContextValidation;
Expand description
Call back used for context validation.
Trait Implementations§
Source§impl CallBack for ContextValidation
impl CallBack for ContextValidation
Source§type CallBackType = unsafe extern "C" fn(*mut *mut i8) -> i32
type CallBackType = unsafe extern "C" fn(*mut *mut i8) -> i32
Prototype of call back function.
Source§fn get_call_back() -> Option<Self::CallBackType>
fn get_call_back() -> Option<Self::CallBackType>
Get the current call back function, if one has been set. Read more
Source§fn set_call_back(func_validate: Option<Self::CallBackType>)
fn set_call_back(func_validate: Option<Self::CallBackType>)
Set or clear the call back function. Read more
Source§impl Debug for ContextValidation
impl Debug for ContextValidation
Source§impl Default for ContextValidation
impl Default for ContextValidation
Source§fn default() -> ContextValidation
fn default() -> ContextValidation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContextValidation
impl RefUnwindSafe for ContextValidation
impl Send for ContextValidation
impl Sync for ContextValidation
impl Unpin for ContextValidation
impl UnwindSafe for ContextValidation
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