pub enum ParkingShapeViolation {
NonzeroLimit {
field: ParkingLimitField,
actual: u64,
required_minimum: u64,
},
RecoveryEntrySchemaBytes {
actual: u64,
required: u64,
},
WireSchemaBytes {
actual: u64,
required: u64,
},
RequestSchemaBytes {
configured_request_limit: u64,
wire_frame_limit: u64,
actual: u64,
required: u64,
},
RowSchemaBytes {
request_limit: u64,
row_metadata_bytes: u64,
actual: u64,
required: u128,
},
CheckedProduct(CheckedMultiplyOverflow),
RowBytesBound {
left: u64,
right: u64,
checked_product: u64,
actual: u64,
},
SdkBytesBound {
left: u64,
right: u64,
checked_product: u64,
actual: u64,
},
RecoverableSlots {
actual: u64,
limit: u64,
},
}Expand description
Exact nine-way parking configuration-shape violation.
Variants§
NonzeroLimit
One of the signed limits is zero.
Fields
§
field: ParkingLimitFieldOffending signed field.
RecoveryEntrySchemaBytes
Recovery request-entry schema is not the fixed width.
Fields
WireSchemaBytes
Wire frame is too small for one participant frame.
Fields
RequestSchemaBytes
Effective request limit is too small for one request schema.
Fields
RowSchemaBytes
Charged row bound is below request plus row metadata.
Fields
CheckedProduct(CheckedMultiplyOverflow)
A required limit product overflowed u64.
RowBytesBound
Per-conversation bytes are below N * B.
Fields
SdkBytesBound
SDK-wide bytes are below G * B.
Fields
RecoverableSlots
Recoverable conversation slots exceed the connection capability.
Trait Implementations§
Source§impl Clone for ParkingShapeViolation
impl Clone for ParkingShapeViolation
Source§fn clone(&self) -> ParkingShapeViolation
fn clone(&self) -> ParkingShapeViolation
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 moreimpl Copy for ParkingShapeViolation
Source§impl Debug for ParkingShapeViolation
impl Debug for ParkingShapeViolation
impl Eq for ParkingShapeViolation
Source§impl PartialEq for ParkingShapeViolation
impl PartialEq for ParkingShapeViolation
impl StructuralPartialEq for ParkingShapeViolation
Auto Trait Implementations§
impl Freeze for ParkingShapeViolation
impl RefUnwindSafe for ParkingShapeViolation
impl Send for ParkingShapeViolation
impl Sync for ParkingShapeViolation
impl Unpin for ParkingShapeViolation
impl UnsafeUnpin for ParkingShapeViolation
impl UnwindSafe for ParkingShapeViolation
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