#[non_exhaustive]pub enum RustAuthActixWebError {
InvalidBasePath(String),
InvalidBaseUrl(String),
InconsistentBaseUrlPath {
url_path: String,
base_path: String,
},
}Expand description
Errors returned while constructing an Actix Web scope for RustAuth.
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.
Trait Implementations§
Source§impl Debug for RustAuthActixWebError
impl Debug for RustAuthActixWebError
Source§impl Display for RustAuthActixWebError
impl Display for RustAuthActixWebError
Source§impl Error for RustAuthActixWebError
impl Error for RustAuthActixWebError
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 ResponseError for RustAuthActixWebError
impl ResponseError for RustAuthActixWebError
Source§fn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
Returns appropriate status code for error. Read more
Source§fn error_response(&self) -> HttpResponse
fn error_response(&self) -> HttpResponse
Creates full response for error. Read more
Auto Trait Implementations§
impl Freeze for RustAuthActixWebError
impl RefUnwindSafe for RustAuthActixWebError
impl Send for RustAuthActixWebError
impl Sync for RustAuthActixWebError
impl Unpin for RustAuthActixWebError
impl UnsafeUnpin for RustAuthActixWebError
impl UnwindSafe for RustAuthActixWebError
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