Struct ldap::LDAP [] [src]

pub struct LDAP {
    // some fields omitted
}

This struct represents a connection to a ldap server

Methods

impl LDAP
[src]

fn new() -> LDAP

fn initialize(&mut self, url: &str) -> bool

fn simple_bind(&mut self, who: &str, passwd: &str) -> bool

fn unbind(&mut self) -> bool

fn set_option(&mut self) -> bool

fn search(&mut self, base: &str, scope: isize, filter: &str, attrs: &[&str], limit: i32) -> Option<LDAPMessage>

unsafe fn get_ptr(&mut self) -> *mut LDAP

Trait Implementations

impl Send for LDAP
[src]