Skip to main content

SdkParkingCapacityIncompatible

Enum SdkParkingCapacityIncompatible 

Source
pub enum SdkParkingCapacityIncompatible {
Show 18 variants 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, }, ConversationRows { conversation_id: ConversationId, occupied: u64, limit: u64, }, ConversationBytes { conversation_id: ConversationId, occupied: u64, limit: u64, }, SdkConversations { occupied: u64, limit: u64, }, SdkRows { occupied: u64, limit: u64, }, SdkBytes { occupied: u64, limit: u64, }, RequestBytes { conversation_id: ConversationId, park_order: u64, actual: u64, limit: u64, }, RecoveryHandshakeRequestBytes { operands: HandshakeSizeOperands, limit: u64, }, RecoveryHandshakeRequestWireFrameBytes { operands: HandshakeSizeOperands, limit: u64, }, RecoveryHandshakeResponseWireFrameBytes { operands: HandshakeSizeOperands, limit: u64, },
}
Expand description

Parked rows are incompatible with replacement SDK configuration.

Variants§

§

NonzeroLimit

One of the replacement signed limits is zero.

Fields

§field: ParkingLimitField

Offending signed field.

§actual: u64

Actual value, which is zero for this variant.

§required_minimum: u64

Required minimum, which is one for this variant.

§

RecoveryEntrySchemaBytes

Recovery request-entry schema is not the fixed width.

Fields

§actual: u64

Configured request-entry width.

§required: u64

Required request-entry width.

§

WireSchemaBytes

Wire frame is too small for one participant frame.

Fields

§actual: u64

Configured wire-frame limit.

§required: u64

Required participant-frame schema bytes.

§

RequestSchemaBytes

Effective request limit is too small for one request schema.

Fields

§configured_request_limit: u64

Configured participant request limit.

§wire_frame_limit: u64

Configured wire-frame limit.

§actual: u64

Effective request limit min(R, WF).

§required: u64

Required participant-request schema bytes.

§

RowSchemaBytes

Charged row bound is below request plus row metadata.

Fields

§request_limit: u64

Configured participant request limit.

§row_metadata_bytes: u64

Fixed row-metadata bytes.

§actual: u64

Configured charged row byte bound.

§required: u128

Exact widened required bytes.

§

CheckedProduct(CheckedMultiplyOverflow)

A required replacement limit product overflowed u64.

§

RowBytesBound

Per-conversation bytes are below N * B.

Fields

§left: u64

Per-conversation row limit.

§right: u64

Charged row byte bound.

§checked_product: u64

Checked N * B product.

§actual: u64

Configured per-conversation byte limit.

§

SdkBytesBound

SDK-wide bytes are below G * B.

Fields

§left: u64

SDK-wide row limit.

§right: u64

Charged row byte bound.

§checked_product: u64

Checked G * B product.

§actual: u64

Configured SDK-wide byte limit.

§

RecoverableSlots

Recoverable conversation slots exceed connection capability.

Fields

§actual: u64

Configured recoverable-conversation count.

§limit: u64

Negotiated participant-conversation slots per connection.

§

ConversationRows

Existing rows exceed replacement per-conversation row capacity.

Fields

§conversation_id: ConversationId

Conversation with incompatible retained rows.

§occupied: u64

Existing retained rows.

§limit: u64

Replacement per-conversation row limit.

§

ConversationBytes

Existing bytes exceed replacement per-conversation byte capacity.

Fields

§conversation_id: ConversationId

Conversation with incompatible retained bytes.

§occupied: u64

Existing charged retained bytes.

§limit: u64

Replacement per-conversation byte limit.

§

SdkConversations

Existing parked conversations exceed replacement SDK capacity.

Fields

§occupied: u64

Existing parked-conversation count.

§limit: u64

Replacement SDK conversation limit.

§

SdkRows

Existing rows exceed replacement SDK row capacity.

Fields

§occupied: u64

Existing SDK-wide retained rows.

§limit: u64

Replacement SDK row limit.

§

SdkBytes

Existing bytes exceed replacement SDK byte capacity.

Fields

§occupied: u64

Existing SDK-wide charged retained bytes.

§limit: u64

Replacement SDK byte limit.

§

RequestBytes

One retained request exceeds replacement effective request bytes.

Fields

§conversation_id: ConversationId

Conversation holding the retained request.

§park_order: u64

Durable order of the retained request.

§actual: u64

Complete encoded participant request bytes.

§limit: u64

Replacement effective request limit min(R, WF).

§

RecoveryHandshakeRequestBytes

Recovery request exceeds replacement participant request bytes.

Fields

§operands: HandshakeSizeOperands

Complete exact widened sizing operands.

§limit: u64

Replacement participant request limit.

§

RecoveryHandshakeRequestWireFrameBytes

Recovery request exceeds replacement wire-frame bytes.

Fields

§operands: HandshakeSizeOperands

Complete exact widened sizing operands.

§limit: u64

Replacement wire-frame limit.

§

RecoveryHandshakeResponseWireFrameBytes

Recovery response exceeds replacement wire-frame bytes.

Fields

§operands: HandshakeSizeOperands

Complete exact widened sizing operands.

§limit: u64

Replacement wire-frame limit.

Trait Implementations§

Source§

impl Clone for SdkParkingCapacityIncompatible

Source§

fn clone(&self) -> SdkParkingCapacityIncompatible

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for SdkParkingCapacityIncompatible

Source§

impl Debug for SdkParkingCapacityIncompatible

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for SdkParkingCapacityIncompatible

Source§

impl PartialEq for SdkParkingCapacityIncompatible

Source§

fn eq(&self, other: &SdkParkingCapacityIncompatible) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for SdkParkingCapacityIncompatible

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.