#[non_exhaustive]pub enum CertificateRejectionKindV0 {
Show 29 variants
SchemaVersionMismatch {
expected: String,
observed: String,
},
BoundOutOfRange {
bound: String,
declared: usize,
hard_maximum: usize,
},
DeclaredBoundExceeded {
bound: String,
declared: usize,
observed: usize,
},
CatalogLimitExceeded {
collection: String,
observed: usize,
maximum: usize,
},
DuplicateOperator {
operator: String,
},
DuplicateRule {
rule_id: String,
},
UnknownOperator {
operator: String,
},
OperatorArityMismatch {
operator: String,
expected: usize,
observed: usize,
},
EmptyVariable,
DuplicateAssumption {
name: String,
},
DuplicateSubstitutionVariable {
variable: String,
},
MissingSubstitutionVariable {
variable: String,
},
UnexpectedSubstitutionVariable {
variable: String,
},
UnknownRule {
rule_id: String,
},
SideConditionKindMismatch {
expected: RewriteSideConditionKindV0,
observed: RewriteSideConditionKindV0,
},
InvalidLayerOrdinal {
observed: i32,
},
CascadeWinnerEqualityRejected {
winner_ids_equal: bool,
cascade_keys_equal: bool,
token_support_equal: bool,
},
CascadeTokenizationUnavailable,
DuplicateComputedValueEnvironmentEntry {
name: String,
},
ComputedValueEqualityRejected {
property: String,
before_present: bool,
after_present: bool,
},
EmptySourceMapTrace,
SourceMapTraceRejected {
segment_index: usize,
reason: String,
},
TokenOwnershipSeparabilityRejected {
reason: String,
token: Option<String>,
},
TransformIndependenceRejected {
reason: String,
left_pass_id: String,
right_pass_id: String,
},
TransitiveMiddleMismatch,
EndpointMismatch {
endpoint: RewriteCheckInputV0,
},
MissingCertificate,
MalformedCertificate {
message: String,
},
DerivedTermLimitExceeded,
}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.
SchemaVersionMismatch
BoundOutOfRange
DeclaredBoundExceeded
CatalogLimitExceeded
DuplicateOperator
DuplicateRule
UnknownOperator
OperatorArityMismatch
EmptyVariable
DuplicateAssumption
DuplicateSubstitutionVariable
MissingSubstitutionVariable
UnexpectedSubstitutionVariable
UnknownRule
SideConditionKindMismatch
InvalidLayerOrdinal
CascadeWinnerEqualityRejected
DuplicateComputedValueEnvironmentEntry
ComputedValueEqualityRejected
EmptySourceMapTrace
SourceMapTraceRejected
TokenOwnershipSeparabilityRejected
TransformIndependenceRejected
TransitiveMiddleMismatch
EndpointMismatch
Fields
§
endpoint: RewriteCheckInputV0MissingCertificate
MalformedCertificate
DerivedTermLimitExceeded
Trait Implementations§
Source§impl Clone for CertificateRejectionKindV0
impl Clone for CertificateRejectionKindV0
Source§fn clone(&self) -> CertificateRejectionKindV0
fn clone(&self) -> CertificateRejectionKindV0
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 CertificateRejectionKindV0
impl Debug for CertificateRejectionKindV0
Source§impl<'de> Deserialize<'de> for CertificateRejectionKindV0
impl<'de> Deserialize<'de> for CertificateRejectionKindV0
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 CertificateRejectionKindV0
impl StructuralPartialEq for CertificateRejectionKindV0
Auto Trait Implementations§
impl Freeze for CertificateRejectionKindV0
impl RefUnwindSafe for CertificateRejectionKindV0
impl Send for CertificateRejectionKindV0
impl Sync for CertificateRejectionKindV0
impl Unpin for CertificateRejectionKindV0
impl UnsafeUnpin for CertificateRejectionKindV0
impl UnwindSafe for CertificateRejectionKindV0
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.