#[non_exhaustive]pub enum LdapResultCode {
Show 15 variants
Success,
OperationsError,
ProtocolError,
TimeLimitExceeded,
SizeLimitExceeded,
StrongerAuthRequired,
Referral,
NoSuchObject,
InvalidDnSyntax,
InvalidCredentials,
InsufficientAccessRights,
Busy,
Unavailable,
UnwillingToPerform,
Other(u32),
}Available on crate feature
ldap only.Expand description
LDAP resultCode per RFC 4511 §4.1.9.
Only the most operationally-relevant codes are spelled out
— the rest fall through to Self::Other preserving the
raw value.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Success
OperationsError
ProtocolError
TimeLimitExceeded
SizeLimitExceeded
StrongerAuthRequired
Referral
NoSuchObject
InvalidDnSyntax
InvalidCredentials
InsufficientAccessRights
Busy
UnwillingToPerform
Other(u32)
Implementations§
Trait Implementations§
Source§impl Clone for LdapResultCode
impl Clone for LdapResultCode
impl Copy for LdapResultCode
Source§impl Debug for LdapResultCode
impl Debug for LdapResultCode
Source§impl<'de> Deserialize<'de> for LdapResultCode
Available on crate feature serde only.
impl<'de> Deserialize<'de> for LdapResultCode
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LdapResultCode
impl Display for LdapResultCode
impl Eq for LdapResultCode
Source§impl PartialEq for LdapResultCode
impl PartialEq for LdapResultCode
Source§impl Serialize for LdapResultCode
Available on crate feature serde only.
impl Serialize for LdapResultCode
Available on crate feature
serde only.impl StructuralPartialEq for LdapResultCode
Auto Trait Implementations§
impl Freeze for LdapResultCode
impl RefUnwindSafe for LdapResultCode
impl Send for LdapResultCode
impl Sync for LdapResultCode
impl Unpin for LdapResultCode
impl UnsafeUnpin for LdapResultCode
impl UnwindSafe for LdapResultCode
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more