pub struct Handler {
pub handler: Box<dyn Fn(Context, *mut c_char, size_t, Option<*mut *mut i8>, Option<c_int>) -> c_int>,
}Expand description
A wrapper for HandlerFunc
Fields
handler: Box<dyn Fn(Context, *mut c_char, size_t, Option<*mut *mut i8>, Option<c_int>) -> c_int>The function to call
Auto Trait Implementations
impl !RefUnwindSafe for Handler
impl !Send for Handler
impl !Sync for Handler
impl Unpin for Handler
impl !UnwindSafe for Handler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more