#[non_exhaustive]#[repr(i32)]pub enum LdapError {
Show 18 variants
InvalidUrl = -1,
LdapiNotSupported = -2,
UseCldapTool = -3,
ResolverError = -4,
ConnectError = -5,
TlsError = -6,
PasswordNotFound = -7,
AnonymousInvalidState = -8,
TransportWriteError = -9,
TransportReadError = -10,
InvalidProtocolState = -11,
FileIOError = -12,
UnavailableCriticalExtension = 12,
InvalidCredentials = 49,
InsufficentAccessRights = 50,
UnwillingToPerform = 53,
EsyncRefreshRequired = 4_096,
NotImplemented = 9_999,
}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.
InvalidUrl = -1
LdapiNotSupported = -2
UseCldapTool = -3
ResolverError = -4
ConnectError = -5
TlsError = -6
PasswordNotFound = -7
AnonymousInvalidState = -8
TransportWriteError = -9
TransportReadError = -10
InvalidProtocolState = -11
FileIOError = -12
InvalidCredentials = 49
InsufficentAccessRights = 50
UnwillingToPerform = 53
EsyncRefreshRequired = 4_096
NotImplemented = 9_999
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LdapError
impl<'de> Deserialize<'de> for LdapError
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 From<LdapResultCode> for LdapError
impl From<LdapResultCode> for LdapError
Source§fn from(code: LdapResultCode) -> Self
fn from(code: LdapResultCode) -> Self
Converts to this type from the input type.
impl Copy for LdapError
Auto Trait Implementations§
impl Freeze for LdapError
impl RefUnwindSafe for LdapError
impl Send for LdapError
impl Sync for LdapError
impl Unpin for LdapError
impl UnwindSafe for LdapError
Blanket Implementations§
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