#[repr(C)]pub struct vmod_data {
pub vrt_major: c_uint,
pub vrt_minor: c_uint,
pub file_id: *const c_char,
pub name: *const c_char,
pub func_name: *const c_char,
pub func: *const c_void,
pub func_len: c_int,
pub proto: *const c_char,
pub json: *const c_char,
pub abi: *const c_char,
}Expand description
This is the interface structure to a compiled VMOD (produced by vmodtool.py)
Fields§
§vrt_major: c_uint§vrt_minor: c_uint§file_id: *const c_char§name: *const c_char§func_name: *const c_char§func: *const c_void§func_len: c_int§proto: *const c_char§json: *const c_char§abi: *const c_charTrait Implementations§
impl Copy for vmod_data
Auto Trait Implementations§
impl Freeze for vmod_data
impl RefUnwindSafe for vmod_data
impl !Send for vmod_data
impl !Sync for vmod_data
impl Unpin for vmod_data
impl UnwindSafe for vmod_data
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