[−][src]Struct system_configuration::dynamic_store::SCDynamicStoreBuilder
Builder for SCDynamicStore
sessions.
Implementations
impl SCDynamicStoreBuilder<()>
[src]
pub 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]
pub 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
.
pub 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.
pub fn build(self) -> SCDynamicStore
[src]
Create the dynamic store session.
Auto Trait Implementations
impl<T> RefUnwindSafe for SCDynamicStoreBuilder<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> !Send for SCDynamicStoreBuilder<T>
impl<T> !Sync for SCDynamicStoreBuilder<T>
impl<T> Unpin for SCDynamicStoreBuilder<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for SCDynamicStoreBuilder<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,