Enum ldap3::result::LdapError [−][src]
Error variants recognized by the library.
Variants
No path given for a ldapi://
URL.
A ldapi://
URL contains a port spec, which it shouldn’t.
Encapsulated I/O error.
Fields of Io
source: Error
Error while sending an operation to the connection handler.
Fields of OpSend
Error while receiving operation results from the connection handler.
Fields of ResultRecv
source: RecvError
Error while sending an internal ID scrubbing request to the connection handler.
Operation or connection timeout.
Fields of Timeout
elapsed: Elapsed
Error parsing the string representation of a search filter.
Premature end of a search stream.
URL parsing error.
Fields of UrlParsing
source: ParseError
UnknownScheme(String)
Unknown LDAP URL scheme.
Native TLS library error.
Fields of NativeTLS
source: Error
LDAP operation result with an error return code.
Fields of LdapResult
result: LdapResult
No values provided for the Add operation.
AdapterInit(String)
No values provided for the Add operation.
Error converting an octet- or percent-decoded string to UTF-8.
InvalidScopeString(String)
Invalid scope string in LDAP URL.
UnrecognizedCriticalExtension(String)
Unreconized LDAP URL extension marked as critical.
Trait Implementations
impl Debug for LdapError
[src]
impl Display for LdapError
[src]
impl Error for LdapError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Elapsed> for LdapError
[src]
impl From<Error> for LdapError
[src]
impl From<Error> for LdapError
[src]
impl From<LdapResult> for LdapError
[src]
fn from(source: LdapResult) -> Self
[src]
impl From<ParseError> for LdapError
[src]
fn from(source: ParseError) -> Self
[src]
impl From<RecvError> for LdapError
[src]
impl From<SendError<(i32, LdapOp, Tag, Option<Vec<RawControl, Global>>, Sender<(Tag, Vec<Control, Global>)>)>> for LdapError
[src]
fn from(
source: SendError<(RequestId, LdapOp, Tag, Option<Vec<RawControl>>, Sender<(Tag, Vec<Control>)>)>
) -> Self
[src]
source: SendError<(RequestId, LdapOp, Tag, Option<Vec<RawControl>>, Sender<(Tag, Vec<Control>)>)>
) -> Self
impl From<SendError<i32>> for LdapError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for LdapError
impl Send for LdapError
impl Sync for LdapError
impl Unpin for LdapError
impl !UnwindSafe for LdapError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,