[][src]Struct kanidm_client::KanidmClientBuilder

pub struct KanidmClientBuilder { /* fields omitted */ }

Methods

impl KanidmClientBuilder[src]

pub fn new() -> Self[src]

pub fn read_options_from_optional_config<P: AsRef<Path>>(
    self,
    config_path: P
) -> Result<Self, ()>
[src]

pub fn address(self, address: String) -> Self[src]

pub fn danger_accept_invalid_hostnames(
    self,
    accept_invalid_hostnames: bool
) -> Self
[src]

pub fn danger_accept_invalid_certs(self, accept_invalid_certs: bool) -> Self[src]

pub fn connect_timeout(self, secs: u64) -> Self[src]

pub fn add_root_certificate_filepath(self, ca_path: &str) -> Result<Self, ()>[src]

pub fn build(self) -> Result<KanidmClient, Error>[src]

pub fn build_async(self) -> Result<KanidmAsyncClient, Error>[src]

Trait Implementations

impl Clone for KanidmClientBuilder[src]

impl Debug for KanidmClientBuilder[src]

impl Default for KanidmClientBuilder[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.