Type Alias ldap_parser::error::Result

source ·
pub type Result<'a, T> = IResult<&'a [u8], T, LdapError>;
Expand description

Holds the result of parsing functions (LDAP)

Note that this type is also a Result, so usual functions (map, unwrap etc.) are available.

Note that this type is not named LdapResult to avoid conflicts with LDAP standard type

Aliased Type§

enum Result<'a, T> {
    Ok((&'a [u8], T)),
    Err(Err<LdapError>),
}

Variants§

§1.0.0

Ok((&'a [u8], T))

Contains the success value

§1.0.0

Err(Err<LdapError>)

Contains the error value