pub enum RouteValidationError {
ConflictDetected {
conflicts: Vec<RouteConflict>,
},
ParameterConflict {
route: String,
details: String,
},
InvalidConfiguration {
message: String,
},
ValidationFailed(RouteMatchError),
}
Expand description
Errors that can occur during route validation
Variants§
ConflictDetected
Fields
§
conflicts: Vec<RouteConflict>
ParameterConflict
InvalidConfiguration
ValidationFailed(RouteMatchError)
Trait Implementations§
Source§impl Debug for RouteValidationError
impl Debug for RouteValidationError
Source§impl Display for RouteValidationError
impl Display for RouteValidationError
Source§impl Error for RouteValidationError
impl Error for RouteValidationError
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<RouteMatchError> for RouteValidationError
impl From<RouteMatchError> for RouteValidationError
Source§fn from(source: RouteMatchError) -> Self
fn from(source: RouteMatchError) -> Self
Converts to this type from the input type.
Source§impl From<RouteValidationError> for BootstrapError
Convert RouteValidationError to BootstrapError for integration
impl From<RouteValidationError> for BootstrapError
Convert RouteValidationError to BootstrapError for integration
Source§fn from(err: RouteValidationError) -> Self
fn from(err: RouteValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RouteValidationError
impl RefUnwindSafe for RouteValidationError
impl Send for RouteValidationError
impl Sync for RouteValidationError
impl Unpin for RouteValidationError
impl UnwindSafe for RouteValidationError
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