Struct varnish_sys::vmod_data
source · [−]#[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_uintvrt_minor: c_uintfile_id: *const c_charname: *const c_charfunc_name: *const c_charfunc: *const c_voidfunc_len: c_intproto: *const c_charjson: *const c_charabi: *const c_charTrait Implementations
impl Copy for vmod_data
Auto Trait Implementations
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
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