pub struct SzConfigCore {
handle: *mut c_char,
}
Expand description
Core implementation of the SzConfig trait
Fields§
§handle: *mut c_char
Implementations§
Source§impl SzConfigCore
impl SzConfigCore
pub fn new_with_params( module_name: &str, ini_params: &str, verbose_logging: bool, ) -> SzResult<Self>
pub fn new_with_definition(config_definition: &str) -> SzResult<Self>
Trait Implementations§
Source§impl Drop for SzConfigCore
impl Drop for SzConfigCore
Source§impl SzConfig for SzConfigCore
impl SzConfig for SzConfigCore
Source§fn export(&self) -> SzResult<JsonString>
fn export(&self) -> SzResult<JsonString>
Exports the complete configuration as JSON
Source§fn get_data_source_registry(&self) -> SzResult<JsonString>
fn get_data_source_registry(&self) -> SzResult<JsonString>
Gets the data source registry
Source§fn register_data_source(&self, data_source_code: &str) -> SzResult<JsonString>
fn register_data_source(&self, data_source_code: &str) -> SzResult<JsonString>
Registers a new data source
impl Send for SzConfigCore
impl Sync for SzConfigCore
Auto Trait Implementations§
impl Freeze for SzConfigCore
impl RefUnwindSafe for SzConfigCore
impl Unpin for SzConfigCore
impl UnwindSafe for SzConfigCore
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