pub struct SessionOptions {
pub cook_opt: CookOptions,
pub session_info: SessionInfo,
pub threaded: bool,
pub cleanup: bool,
pub log_file: Option<CString>,
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
session_info: SessionInfoSession connection options
threaded: boolCreate a Threaded server connection
cleanup: boolCleanup session upon close
log_file: Option<CString>§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 moreSource§impl Debug for SessionOptions
impl Debug for SessionOptions
Auto Trait Implementations§
impl Freeze for SessionOptions
impl RefUnwindSafe for SessionOptions
impl Send for SessionOptions
impl Sync for SessionOptions
impl Unpin for SessionOptions
impl UnwindSafe for SessionOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more