pub struct LdapClientBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> LdapClientBuilder<'a>
impl<'a> LdapClientBuilder<'a>
pub fn new(url: &'a Url) -> Self
pub fn set_timeout(self, timeout: Duration) -> Self
pub fn add_tls_ca<T>(self, ca: &'a T) -> Self
pub fn danger_accept_invalid_certs(self, accept_invalid_certs: bool) -> Self
Sourcepub fn max_ber_size(self, max_ber_size: Option<usize>) -> Self
pub fn max_ber_size(self, max_ber_size: Option<usize>) -> Self
Set the maximum size of a decoded message
pub async fn build(self) -> LdapResult<LdapClient>
Auto Trait Implementations§
impl<'a> Freeze for LdapClientBuilder<'a>
impl<'a> RefUnwindSafe for LdapClientBuilder<'a>
impl<'a> Send for LdapClientBuilder<'a>
impl<'a> Sync for LdapClientBuilder<'a>
impl<'a> Unpin for LdapClientBuilder<'a>
impl<'a> UnwindSafe for LdapClientBuilder<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more