pub enum PartitionKeyCodecError {
EmptyKeySchema,
TooManyKeyColumns {
count: usize,
limit: usize,
},
UnsupportedKeyMetadata {
index: usize,
},
KeyTypeNestingTooDeep {
index: usize,
limit: usize,
},
KeyTypeParameterTooLarge {
index: usize,
parameter: &'static str,
bytes: usize,
limit: usize,
},
UnsupportedKeyType {
index: usize,
data_type: DataType,
},
UnsupportedKeyTypeFamily {
index: usize,
family: &'static str,
},
Arrow(ArrowError),
KeySchemaDescriptorTooLarge {
limit: usize,
},
}Expand description
Failure to construct the ABI-v1 typed-key encoder.
Variants§
EmptyKeySchema
A keyed partitioning codec requires at least one logical key column.
TooManyKeyColumns
The composite key is too wide for bounded plan-time construction.
UnsupportedKeyMetadata
Arrow extension metadata has no routing semantics in partitioning ABI v1.
KeyTypeNestingTooDeep
Recursive dictionary hydration is bounded before Arrow row construction.
Fields
KeyTypeParameterTooLarge
A variable type parameter crossed its partition ABI resource bound.
Fields
UnsupportedKeyType
The resolved key type has no frozen ABI-v1 equality and encoding contract.
Fields
data_type: DataTypeRejected Arrow type.
UnsupportedKeyTypeFamily
A recursive Arrow family is rejected without cloning attacker-shaped schema trees.
Fields
Arrow(ArrowError)
Arrow rejected the otherwise admitted row layout.
KeySchemaDescriptorTooLarge
The opaque routing-schema descriptor crossed its hard allocation bound.
Trait Implementations§
Source§impl Debug for PartitionKeyCodecError
impl Debug for PartitionKeyCodecError
Source§impl Display for PartitionKeyCodecError
impl Display for PartitionKeyCodecError
Source§impl Error for PartitionKeyCodecError
impl Error for PartitionKeyCodecError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for PartitionKeyCodecError
impl !UnwindSafe for PartitionKeyCodecError
impl Freeze for PartitionKeyCodecError
impl Send for PartitionKeyCodecError
impl Sync for PartitionKeyCodecError
impl Unpin for PartitionKeyCodecError
impl UnsafeUnpin for PartitionKeyCodecError
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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> ⓘ
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> ⓘ
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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
§impl<T> Pointee for T
impl<T> Pointee for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.