Struct system_configuration::dynamic_store::SCDynamicStoreBuilder [−][src]
pub struct SCDynamicStoreBuilder<T> { /* fields omitted */ }Expand description
Builder for SCDynamicStore sessions.
Implementations
Creates a new builder. name is used as the name parameter when creating the
SCDynamicStore session.
Set wether or not the created SCDynamicStore should have session keys or not.
See SCDynamicStoreCreateWithOptions for details.
Defaults to false.
pub fn callback_context<T2>(
self,
callback_context: SCDynamicStoreCallBackContext<T2>
) -> SCDynamicStoreBuilder<T2>
pub fn callback_context<T2>(
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.
Create the dynamic store session.
