Enum ldap_utils::LdapSchemaError
source · [−]pub enum LdapSchemaError {
LdapOperationError(LdapOperationError),
ChumskyError(ChumskyError),
}
Expand description
error which can happen while retrieving and parsing the LDAP schema
Variants
LdapOperationError(LdapOperationError)
an error in the ldap operations performed while retrieving the schema
ChumskyError(ChumskyError)
an error while parsing the retrieved schema
Trait Implementations
sourceimpl Debug for LdapSchemaError
impl Debug for LdapSchemaError
sourceimpl Display for LdapSchemaError
impl Display for LdapSchemaError
sourceimpl Error for LdapSchemaError
impl Error for LdapSchemaError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<ChumskyError> for LdapSchemaError
impl From<ChumskyError> for LdapSchemaError
sourcefn from(source: ChumskyError) -> Self
fn from(source: ChumskyError) -> Self
Converts to this type from the input type.
sourceimpl From<LdapOperationError> for LdapSchemaError
impl From<LdapOperationError> for LdapSchemaError
sourcefn from(source: LdapOperationError) -> Self
fn from(source: LdapOperationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for LdapSchemaError
impl Send for LdapSchemaError
impl Sync for LdapSchemaError
impl Unpin for LdapSchemaError
impl !UnwindSafe for LdapSchemaError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more