[][src]Struct system_configuration::dynamic_store::SCDynamicStoreBuilder

pub struct SCDynamicStoreBuilder<T> { /* fields omitted */ }

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]

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

impl<T> !Send for SCDynamicStoreBuilder<T>

impl<T> !Sync for SCDynamicStoreBuilder<T>

impl<T> Unpin for SCDynamicStoreBuilder<T> where
    T: Unpin

impl<T> UnwindSafe for SCDynamicStoreBuilder<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.