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: CookOptions
Session cook options
threaded: bool
Create a Threaded server connection
cleanup: bool
Cleanup session upon close
ignore_already_init: bool
Do 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
sourceimpl SessionOptions
impl SessionOptions
sourcepub fn builder() -> SessionOptionsBuilder
pub fn builder() -> SessionOptionsBuilder
Create a SessionOptionsBuilder
. Same as SessionOptionsBuilder::default()
.
Trait Implementations
sourceimpl Clone for SessionOptions
impl Clone for SessionOptions
sourcefn clone(&self) -> SessionOptions
fn clone(&self) -> SessionOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SessionOptions
impl Debug for SessionOptions
Auto Trait Implementations
impl RefUnwindSafe for SessionOptions
impl Send for SessionOptions
impl Sync for SessionOptions
impl Unpin for SessionOptions
impl UnwindSafe for SessionOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more