Struct ldap3::result::ExopResult [] [src]

pub struct ExopResult(pub Exop, pub LdapResult);

Wrapper for the result of an Extended operation.

Similarly to SearchResult, methods success() and non_error() can be called on an instance, and will destructure the wrapper into an anonymous tuple of its components.

Methods

impl ExopResult
[src]

If the result code is zero, return an anonymous tuple of component structs wrapped in Ok(), otherwise wrap the LdapResult part in an io::Error.

If the result code is 0 or 10 (referral), return an anonymous tuple of component structs wrapped in Ok(), otherwise wrap the LdapResult part in an io::Error.

Trait Implementations

impl Clone for ExopResult
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ExopResult
[src]

Formats the value using the given formatter.