Skip to main content

PassHandler

Type Alias PassHandler 

Source
pub type PassHandler = Box<dyn Fn(&[u8]) -> PassResult + Send + Sync + 'static>;
Expand description

Closure handler signature. Args are raw bytes; result is raw bytes. Caller-supplied (de)serialisation.

Aliased Typeยง

pub struct PassHandler(/* private fields */);