Expand description
Types and traits related to the conversion of LDAP types to Rust types
Structs§
- Binary
- a wrapper newtype to identify types we want to deserialize from Binary LDAP attributes
this avoids conflicts with e.g.
Vec<u8>deserialized from a multi-valued number attribute andVec<u8>serialized from a single-valued binary attribute - Ldap
Attribute Result Values - represents the representation for a type that could be returned by a search
query, zero, one or multiple Strings and zero, one or
multiple binary values (
Vec<u8>) - Unexpected
Binary Value - error that occurs when a conversion encounters a value that it can not convert
- Unexpected
String Value - error that occurs when a conversion encounters a value that it can not convert
Enums§
- Option
OfFrom Binary Ldap Type Error - represents the errors that can occur when decoding an Option of types with a FromBinaryLdapType implementation
- Option
OfFrom String Ldap Type Error - represents the errors that can occur when decoding an Option of types with a FromStringLdapType implementation
- Required
From Binary Ldap Type Error - represents the errors that can occur when decoding a required value of types with a FromBinaryLdapType implementation
- Required
From String Ldap Type Error - represents the errors that can occur when decoding a required value of types with a FromStringLdapType implementation
- VecOf
From Binary Ldap Type Error - represents the errors that can occur when decoding a Vec of types with a FromBinaryLdapType implementation
- VecOf
From String Ldap Type Error - represents the errors that can occur when decoding a Vec of types with a FromStringLdapType implementation
Traits§
- From
Binary Ldap Type - a primitive result that can be converted from an Ldap type that is returned
as a
Vec<u8> - From
Ldap Type - a type that can be parsed from an Ldap type (on the level where optional/required and single/multi-value matter as opposed to the primitives above)
- From
String Ldap Type - a primitive result that can be converted from an Ldap type that is returned as a String
- Search
Entry Ext - adds a method to ldap3::SearchEntry to extract the LdapResultValue for a given attribute