Struct hapi_rs::session::SessionOptions
source · pub struct SessionOptions {
pub cook_opt: CookOptions,
pub threaded: bool,
pub cleanup: bool,
pub ignore_already_init: bool,
pub env_files: Option<CString>,
pub env_variables: Option<Vec<(String, String)>>,
pub otl_path: Option<CString>,
pub dso_path: Option<CString>,
pub img_dso_path: Option<CString>,
pub aud_dso_path: Option<CString>,
}Expand description
Session options passed to session create functions like connect_to_pipe
Fields§
§cook_opt: CookOptionsSession cook options
threaded: boolCreate a Threaded server connection
cleanup: boolCleanup session upon close
ignore_already_init: boolDo not error out if session is already initialized
env_files: Option<CString>§env_variables: Option<Vec<(String, String)>>§otl_path: Option<CString>§dso_path: Option<CString>§img_dso_path: Option<CString>§aud_dso_path: Option<CString>Implementations§
source§impl SessionOptions
impl SessionOptions
sourcepub fn builder() -> SessionOptionsBuilder
pub fn builder() -> SessionOptionsBuilder
Create a SessionOptionsBuilder. Same as SessionOptionsBuilder::default().
Trait Implementations§
source§impl Clone for SessionOptions
impl Clone for SessionOptions
source§fn clone(&self) -> SessionOptions
fn clone(&self) -> SessionOptions
Returns a copy 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 more