pub enum PartitionError {
Show 14 variants
AxisMismatch {
requested: PartitionAxis,
owned: PartitionAxis,
},
Storage(StorageError),
Stats(StatsError),
Text(TextIndexError),
LockPoisoned,
Proto(ProtoError),
ScanPermutationNotOwned(&'static str, PartitionAxis),
UnsupportedPermutation {
rpc: &'static str,
permutation: IndexPermutation,
},
PermutationRequired(&'static str),
DomainScanTooLarge(usize),
InvalidCountMode,
SubjectEqualsGraphWithMerge,
Listen(Error),
Transport(Error),
}Expand description
Failure serving a Hexastore RPC on a single partition axis.
Variants§
AxisMismatch
The request asserted an axis this process does not own.
Fields
requested: PartitionAxisAxis named by the caller.
owned: PartitionAxisAxis this process was started for.
Storage(StorageError)
Storage-brick failure, including a request naming a foreign index.
Stats(StatsError)
Sketch / stats-profile failure (Phase 7).
Text(TextIndexError)
O-axis text-index engine failure.
LockPoisoned
Partition-state lock poisoned.
Proto(ProtoError)
Malformed request payload.
ScanPermutationNotOwned(&'static str, PartitionAxis)
A DomainScan / AxisHeadScan named a permutation this axis does not
own (foreign axis ⇒ UNIMPLEMENTED, like a foreign ScanPattern).
UnsupportedPermutation
The RPC does not serve this index permutation at all
(TSG under DomainScan; SOPG / POSG under AxisHeadScan).
Fields
permutation: IndexPermutationRejected permutation.
PermutationRequired(&'static str)
The RPC requires an explicit index permutation.
DomainScanTooLarge(usize)
Domain constraint list exceeded the planner cap.
InvalidCountMode
A domain count mode was combined with an incompatible request flag.
SubjectEqualsGraphWithMerge
A text subject request combined subject_equals_graph with
merge_default_graph. The merge rewrites every row’s graph to the
unnamed graph, so no subject can equal its graph; the equality
filter would drop the whole window, and the subject form has no
residual to recover those rows. Reject the request instead of
answering empty.
Listen(Error)
Listener setup failure.
Transport(Error)
gRPC transport failure while serving.
Trait Implementations§
Source§impl Debug for PartitionError
impl Debug for PartitionError
Source§impl Display for PartitionError
impl Display for PartitionError
Source§impl Error for PartitionError
impl Error for PartitionError
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()
Source§impl From<Error> for PartitionError
impl From<Error> for PartitionError
Source§impl From<Error> for PartitionError
impl From<Error> for PartitionError
Source§impl From<PartitionError> for Status
impl From<PartitionError> for Status
Source§fn from(error: PartitionError) -> Self
fn from(error: PartitionError) -> Self
Source§impl From<ProtoError> for PartitionError
impl From<ProtoError> for PartitionError
Source§fn from(source: ProtoError) -> Self
fn from(source: ProtoError) -> Self
Source§impl From<StatsError> for PartitionError
impl From<StatsError> for PartitionError
Source§fn from(source: StatsError) -> Self
fn from(source: StatsError) -> Self
Source§impl From<StorageError> for PartitionError
impl From<StorageError> for PartitionError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Source§impl From<TextIndexError> for PartitionError
impl From<TextIndexError> for PartitionError
Source§fn from(source: TextIndexError) -> Self
fn from(source: TextIndexError) -> Self
Auto Trait Implementations§
impl Freeze for PartitionError
impl !RefUnwindSafe for PartitionError
impl Send for PartitionError
impl Sync for PartitionError
impl Unpin for PartitionError
impl UnsafeUnpin for PartitionError
impl !UnwindSafe for PartitionError
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for 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>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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].