pub fn build(mut self) -> Result<SapiModule> {
        self.module.name = CString::new(self.name)?.into_raw();
        self.module.pretty_name = CString::new(self.pretty_name)?.into_raw();

        if self.module.send_header.is_none() {
            self.module.send_header = Some(dummy_send_header);
        }

        Ok(self.module)
    }
Builds the extension and returns a `SapiModule`.

Returns a result containing the sapi module if successful.

# Errors

* If name or property name contain null bytes
src/builders/sapi.rs