#[non_exhaustive]pub enum ApisixClientError {
ConfigMissingException(&'static str),
AdminException(&'static str),
InvalidRequest(String),
SessionTimeoutException,
AuthenticationException,
}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.
ConfigMissingException(&'static str)
Config Exception
AdminException(&'static str)
Generic
InvalidRequest(String)
SessionTimeoutException
Session timed out
AuthenticationException
Authentication Exception
Trait Implementations§
source§impl Debug for ApisixClientError
impl Debug for ApisixClientError
source§impl Display for ApisixClientError
impl Display for ApisixClientError
source§impl Error for ApisixClientError
impl Error for ApisixClientError
1.81.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.81.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ApisixClientError
impl RefUnwindSafe for ApisixClientError
impl Send for ApisixClientError
impl Sync for ApisixClientError
impl Unpin for ApisixClientError
impl UnwindSafe for ApisixClientError
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