[−][src]Struct kanidm_client::KanidmClientBuilder
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]
self,
config_path: P
) -> Result<Self, ()>
pub fn address(self, address: String) -> Self
[src]
pub fn danger_accept_invalid_hostnames(
self,
accept_invalid_hostnames: bool
) -> Self
[src]
self,
accept_invalid_hostnames: bool
) -> Self
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]
fn clone(&self) -> KanidmClientBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for KanidmClientBuilder
[src]
impl Default for KanidmClientBuilder
[src]
fn default() -> KanidmClientBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for KanidmClientBuilder
impl Send for KanidmClientBuilder
impl Sync for KanidmClientBuilder
impl Unpin for KanidmClientBuilder
impl UnwindSafe for KanidmClientBuilder
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,