Function start

Source
pub fn start<Minidump, Message>(
    socket_name: &str,
    crashes_dir: PathBuf,
    stale_timeout: u64,
    on_minidump: Option<Minidump>,
    on_message: Option<Message>,
) -> Result<(), Error>
where Minidump: Fn(Vec<u8>, &Path) + Send + Sync + 'static, Message: Fn(u32, Vec<u8>) + Send + Sync + 'static,