pub enum AtomicToolError {
Internal(String),
Unauthorized(String),
InvalidRequest(String),
InsufficientPermissions(String),
}Variants§
Trait Implementations§
Source§impl Clone for AtomicToolError
impl Clone for AtomicToolError
Source§impl Debug for AtomicToolError
impl Debug for AtomicToolError
Source§impl<'de> Deserialize<'de> for AtomicToolError
impl<'de> Deserialize<'de> for AtomicToolError
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 AtomicToolError
impl Display for AtomicToolError
Source§impl Error for AtomicToolError
impl Error for AtomicToolError
1.30.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.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<AtomicError> for AtomicToolError
impl From<AtomicError> for AtomicToolError
Source§fn from(err: AtomicError) -> AtomicToolError
fn from(err: AtomicError) -> AtomicToolError
Converts to this type from the input type.
Source§impl From<DynamicRegistrationError> for AtomicToolError
impl From<DynamicRegistrationError> for AtomicToolError
Source§fn from(err: DynamicRegistrationError) -> AtomicToolError
fn from(err: DynamicRegistrationError) -> AtomicToolError
Converts to this type from the input type.
Source§impl From<Error> for AtomicToolError
impl From<Error> for AtomicToolError
Source§fn from(err: JSONError) -> AtomicToolError
fn from(err: JSONError) -> AtomicToolError
Converts to this type from the input type.
Source§impl From<OIDCError> for AtomicToolError
impl From<OIDCError> for AtomicToolError
Source§fn from(err: OIDCError) -> AtomicToolError
fn from(err: OIDCError) -> AtomicToolError
Converts to this type from the input type.
Source§impl From<PlatformError> for AtomicToolError
impl From<PlatformError> for AtomicToolError
Source§fn from(err: PlatformError) -> AtomicToolError
fn from(err: PlatformError) -> AtomicToolError
Converts to this type from the input type.
Source§impl From<SecureError> for AtomicToolError
impl From<SecureError> for AtomicToolError
Source§fn from(err: SecureError) -> AtomicToolError
fn from(err: SecureError) -> AtomicToolError
Converts to this type from the input type.
Source§impl PartialEq for AtomicToolError
impl PartialEq for AtomicToolError
Source§impl ResponseError for AtomicToolError
impl ResponseError for AtomicToolError
Source§fn error_response(&self) -> HttpResponse
fn error_response(&self) -> HttpResponse
Creates full response for error. Read more
Source§fn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
Returns appropriate status code for error. Read more
Source§impl Serialize for AtomicToolError
impl Serialize for AtomicToolError
impl StructuralPartialEq for AtomicToolError
Auto Trait Implementations§
impl Freeze for AtomicToolError
impl RefUnwindSafe for AtomicToolError
impl Send for AtomicToolError
impl Sync for AtomicToolError
impl Unpin for AtomicToolError
impl UnsafeUnpin for AtomicToolError
impl UnwindSafe for AtomicToolError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.