#[repr(C)]pub struct epan_plugin {
pub init: Option<unsafe extern "C" fn()>,
pub post_init: Option<unsafe extern "C" fn()>,
pub dissect_init: Option<unsafe extern "C" fn(arg1: *mut epan_dissect_t)>,
pub dissect_cleanup: Option<unsafe extern "C" fn(arg1: *mut epan_dissect_t)>,
pub cleanup: Option<unsafe extern "C" fn()>,
pub register_all_protocols: Option<unsafe extern "C" fn(arg1: register_cb, arg2: gpointer)>,
pub register_all_handoffs: Option<unsafe extern "C" fn(arg1: register_cb, arg2: gpointer)>,
pub register_all_tap_listeners: Option<unsafe extern "C" fn()>,
}Fields§
§init: Option<unsafe extern "C" fn()>§post_init: Option<unsafe extern "C" fn()>§dissect_init: Option<unsafe extern "C" fn(arg1: *mut epan_dissect_t)>§dissect_cleanup: Option<unsafe extern "C" fn(arg1: *mut epan_dissect_t)>§cleanup: Option<unsafe extern "C" fn()>§register_all_protocols: Option<unsafe extern "C" fn(arg1: register_cb, arg2: gpointer)>§register_all_handoffs: Option<unsafe extern "C" fn(arg1: register_cb, arg2: gpointer)>§register_all_tap_listeners: Option<unsafe extern "C" fn()>Trait Implementations§
Source§impl Clone for epan_plugin
impl Clone for epan_plugin
Source§fn clone(&self) -> epan_plugin
fn clone(&self) -> epan_plugin
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 moreSource§impl Debug for epan_plugin
impl Debug for epan_plugin
impl Copy for epan_plugin
Auto Trait Implementations§
impl Freeze for epan_plugin
impl RefUnwindSafe for epan_plugin
impl Send for epan_plugin
impl Sync for epan_plugin
impl Unpin for epan_plugin
impl UnwindSafe for epan_plugin
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