pub enum Rule {
Show 24 variants
Kind,
CodePadding,
Required,
Order,
Generation,
TimestampDevice,
WriteDevice,
DeviceReplacement,
Recipient,
AdmittedDevice,
Audience,
Store,
ColumnOperation,
ForeignKeyColumns,
Real,
NullKey,
KeyEncoding,
Coverage,
SnapshotSequence,
StreamLength,
Chunk,
Nanoseconds,
Range,
RaiseVersion,
}Expand description
An invariant a format object did not meet.
Variants§
Kind
A text code has the wrong prefix, or a frame has an unexpected kind.
CodePadding
Base32 length or unused trailing bits are not canonical.
Required
A required name, collection or number was empty or zero.
Order
A set was not in strictly increasing order, or repeated an identity.
Generation
A removed row is absent from merged state.
TimestampDevice
A timestamp named a different device than its write or entry.
WriteDevice
A write names a different device than its containing slot.
DeviceReplacement
A device registration replaces the same id it adds.
Recipient
An admission’s key boxes name more than one recipient or sealing key.
AdmittedDevice
An admission registers the device that writes it.
Audience
A part, row or removal rule named an audience it cannot contain or describe.
Store
A reported storage path belongs to a different store.
ColumnOperation
Old and new column values did not match the operation.
ForeignKeyColumns
A foreign key names different numbers of source and target columns.
Real
A real number was NaN or encoded negative zero.
NullKey
A row key contained null.
KeyEncoding
A key has a noncanonical numeric or escaped byte representation.
Coverage
A snapshot record or dismissal names a write outside its covered or read-through slot.
SnapshotSequence
Snapshot sections, counts or their end marker did not match the header.
StreamLength
A stream’s declared byte length or record count disagrees with its frames.
Chunk
A chunk’s index or byte length did not match its file header.
Nanoseconds
A storage time’s fraction is one second or more.
Range
A storage time precedes the Unix epoch.
RaiseVersion
A raise snapshot’s schema version is not the version its prefix raises to.