pub struct HostError {
pub code: String,
pub reason: String,
}Expand description
Infrastructure / host-resolver failure (distinct from domain FieldIssue validation errors).
Fields§
§code: String§reason: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HostError
impl<'de> Deserialize<'de> for HostError
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
impl Eq for HostError
Source§impl Error for HostError
impl Error for HostError
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<HostError> for AsyncValidationError
impl From<HostError> for AsyncValidationError
Source§impl IntoAsyncError for HostError
impl IntoAsyncError for HostError
fn into_async_error_result(self, _field: &str, _code: &str) -> AsyncCheckResult
impl StructuralPartialEq for HostError
Auto Trait Implementations§
impl Forget for HostError
impl Freeze for HostError
impl Move for HostError
impl RefUnwindSafe for HostError
impl Send for HostErrorwhere
RawVecInner: Send,
impl Sync for HostErrorwhere
RawVecInner: Sync,
impl Unpin for HostError
impl UnsafeUnpin for HostError
impl UnwindSafe for HostErrorwhere
RawVecInner: UnwindSafe,
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