Enum krill::commons::error::ApiAuthError
source · pub enum ApiAuthError {
ApiInvalidCredentials(String),
ApiLoginError(String),
ApiAuthPermanentError(String),
ApiAuthTransientError(String),
ApiAuthSessionExpired(String),
ApiInsufficientRights(String),
}
Variants§
ApiInvalidCredentials(String)
ApiLoginError(String)
ApiAuthPermanentError(String)
ApiAuthTransientError(String)
ApiAuthSessionExpired(String)
ApiInsufficientRights(String)
Trait Implementations§
source§impl Clone for ApiAuthError
impl Clone for ApiAuthError
source§fn clone(&self) -> ApiAuthError
fn clone(&self) -> ApiAuthError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ApiAuthError
impl Debug for ApiAuthError
source§impl Display for ApiAuthError
impl Display for ApiAuthError
source§impl From<ApiAuthError> for Error
impl From<ApiAuthError> for Error
source§fn from(e: ApiAuthError) -> Self
fn from(e: ApiAuthError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ApiAuthError
impl Send for ApiAuthError
impl Sync for ApiAuthError
impl Unpin for ApiAuthError
impl UnwindSafe for ApiAuthError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Text for Twhere
T: Display,
impl<T> Text for Twhere
T: Display,
source§fn write_escaped(
&self,
mode: TextEscape,
target: &mut impl Write
) -> Result<(), Error>
fn write_escaped( &self, mode: TextEscape, target: &mut impl Write ) -> Result<(), Error>
Write text escaped for the given mode to
target
.