Struct system_configuration::dynamic_store::SCDynamicStoreBuilder
[−]
[src]
pub struct SCDynamicStoreBuilder<T> { /* fields omitted */ }Builder for SCDynamicStore sessions.
Methods
impl SCDynamicStoreBuilder<()>[src]
fn new<S: Into<CFString>>(name: S) -> Self[src]
Creates a new builder. name is used as the name parameter when creating the
SCDynamicStore session.
impl<T> SCDynamicStoreBuilder<T>[src]
fn session_keys(self, session_keys: bool) -> Self[src]
Set wether or not the created SCDynamicStore should have session keys or not.
See SCDynamicStoreCreateWithOptions for details.
Defaults to false.
fn callback_context<T2>(
self,
callback_context: SCDynamicStoreCallBackContext<T2>
) -> SCDynamicStoreBuilder<T2>[src]
self,
callback_context: SCDynamicStoreCallBackContext<T2>
) -> SCDynamicStoreBuilder<T2>
Set a callback context (callback function and data to pass to each callback call).
Defaults to having callbacks disabled.
fn build(self) -> SCDynamicStore[src]
Create the dynamic store session.