Re-exports§
pub use tls_config::TlsConfig;pub use tls_config::TlsVersion;pub use tls_config::TrustAnchors;
Modules§
- tls_
config - Convenience types for building a
rustls::ClientConfigwithout touching Rustls directly.
Structs§
- Assertion
Value - An attribute value assertion’s value. Values are octets, and text is the common case.
- Client
- Client
Builder - Control
- Dn
- Domain
Scope Control - Extended
Response - LdapUrl
- Manage
DsaIt Control - Message
Id - A message id is
0..=i32::MAX. A request takes an id fromFIRSTup;UNSOLICITEDis the id of a server’s notification. - Modification
- Paged
Results Control - Simple paged results control (RFC 2696).
- Paged
Search - Incremental paged search that yields one page of results at a time.
- Partial
Attribute - Rdn
- Search
Params - Search
Result - Search
Result Entry - SortKey
- A single sort key for server-side sort (RFC 2891).
- Sort
KeyList - Server-side sort request control value (RFC 2891).
- Sort
Result - Server-side sort response control value (RFC 2891).
- Zeroizing
Zeroizingis a wrapper for anyZ: Zeroizetype which implements aDrophandler which zeroizes dropped values.
Enums§
- Attribute
Value - An RDN value: text, or the BER encoding that RFC 4514 section 2.4 writes
as
#and hex digits. - Bind
Credentials - Credentials for
Client::bind. - Deref
Aliases - Error
- Filter
- LDAP search filter (RFC 4515).
- Modify
Operation - Referral
Credentials - What a connection opened to follow a referral binds as.
- Referral
Policy - Controls how the server’s referral responses are handled.
- Result
Code - Search
Scope - Transport
Constants§
- DOMAIN_
SCOPE_ OID - MANAGE_
DSA_ IT_ OID - NOTICE_
OF_ DISCONNECTION_ OID - PAGED_
RESULTS_ OID - SERVER_
SORT_ OID - SERVER_
SORT_ REQUEST_ OID - SERVER_
SORT_ RESPONSE_ OID - STARTTLS_
OID - WHO_
AM_ I_ OID
Traits§
- Control
Type - HasLdap
Result - Request
Control - A control the client sends. Criticality belongs to the
Controlthat carries the value, not to the value. - Response
Control
Functions§
- escape_
dn_ value - Escape a DN value per RFC 4514 §2.4.
- parse_
range_ option - Parse an AD range option from an attribute name.
Type Aliases§
- Secret
String - Secret string type.
- Unsolicited
Handler - Handler for unsolicited notifications other than Notice of Disconnection.