Type Alias ProtocolDecoderFeed

Source
pub type ProtocolDecoderFeed = Option<unsafe extern "C" fn(protocol: *mut c_void, level: bool, duration: u32) -> bool>;

Aliased Type§

pub enum ProtocolDecoderFeed {
    None,
    Some(unsafe extern "C" fn(*mut c_void, bool, u32) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, bool, u32) -> bool)

Some value of type T.