#[non_exhaustive]pub enum BackendValidationError {
ZeroTimeout {
backend: String,
},
ZeroPollTimeout {
backend: String,
},
ZeroPollInterval {
backend: String,
},
UnsupportedScheme {
backend: String,
scheme: String,
},
}Expand description
Backend-specific deterministic validation errors.
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 BackendValidationError
impl Debug for BackendValidationError
Source§impl Display for BackendValidationError
impl Display for BackendValidationError
Source§impl Error for BackendValidationError
impl Error for BackendValidationError
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<BackendValidationError> for ConfigError
impl From<BackendValidationError> for ConfigError
Source§fn from(source: BackendValidationError) -> Self
fn from(source: BackendValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BackendValidationError
impl RefUnwindSafe for BackendValidationError
impl Send for BackendValidationError
impl Sync for BackendValidationError
impl Unpin for BackendValidationError
impl UnsafeUnpin for BackendValidationError
impl UnwindSafe for BackendValidationError
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