#[non_exhaustive]pub enum DomainRegistrationError {
DuplicateKind {
kind: OperationKind,
},
MissingProfile {
kind: OperationKind,
},
MissingSchema {
kind: OperationKind,
},
}Expand description
Domain handler registration failure detected before traffic is served.
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.
DuplicateKind
More than one handler claimed an operation kind.
Fields
§
kind: OperationKindDuplicated stable kind.
MissingProfile
Handler did not declare a certified consistency profile.
Fields
§
kind: OperationKindOperation kind missing its profile.
MissingSchema
Handler declared schema version zero.
Fields
§
kind: OperationKindOperation kind missing a usable schema version.
Trait Implementations§
Source§impl Clone for DomainRegistrationError
impl Clone for DomainRegistrationError
Source§fn clone(&self) -> DomainRegistrationError
fn clone(&self) -> DomainRegistrationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DomainRegistrationError
impl Debug for DomainRegistrationError
Source§impl Display for DomainRegistrationError
impl Display for DomainRegistrationError
impl Eq for DomainRegistrationError
Source§impl Error for DomainRegistrationError
impl Error for DomainRegistrationError
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 PartialEq for DomainRegistrationError
impl PartialEq for DomainRegistrationError
impl StructuralPartialEq for DomainRegistrationError
Auto Trait Implementations§
impl Freeze for DomainRegistrationError
impl RefUnwindSafe for DomainRegistrationError
impl Send for DomainRegistrationError
impl Sync for DomainRegistrationError
impl Unpin for DomainRegistrationError
impl UnsafeUnpin for DomainRegistrationError
impl UnwindSafe for DomainRegistrationError
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more