pub enum CapacityKind {
Graph,
Expression,
WalPayload,
SeekCandidates,
AdjacencyTypes,
SealedArena,
}Expand description
Which capacity contract a Error::Capacity refusal belongs to
(ADR-0042/ADR-0307 vs ADR-0463 vs ADR-0494). Public so a consumer can
render the class without parsing the message; the Display already
differs.
Variants§
Graph
The live graph + index cap (--logical-graph-size-limit, ADR-0042).
Expression
One expression-built allocation over the per-value cap (ADR-0463).
WalPayload
The per-record WAL payload cap (ADR-0086, ADR-0494): one commit
record whose serialized payload crosses
Error::WAL_PAYLOAD_CAP_BYTES, refused mid-serialization before
any frame is written. used is the counted byte total at which
the bounded serializer stopped — a lower bound of the record the
statement tried to commit, never its final size.
SeekCandidates
A shortest-path endpoint pattern matched more nodes than the route
will list to pick its search side (ADR-0556, ADR-0567). used is
the match count at which the bounded scan stopped — a lower bound,
never the full match count — and limit the cap it consulted.
AdjacencyTypes
The sealed adjacency tier’s per-node type cap (ADR-0599): one node
holds at most u16::MAX distinct relationship types in one
direction — the span-length field’s structural bound, refused at
admission before the redo is logged. used is the distinct-type
count the node would reach, limit the bound.
SealedArena
The sealed adjacency tier’s stream cap (ADR-0599): one direction’s
arena holds at most u32::MAX bytes of encoded hop streams — the
entry-offset field’s structural bound, refused at admission.
used is the arena-plus-live-charge bound at which the batch was
refused, limit the bound.
Trait Implementations§
Source§impl Clone for CapacityKind
impl Clone for CapacityKind
impl Copy for CapacityKind
Source§impl Debug for CapacityKind
impl Debug for CapacityKind
impl Eq for CapacityKind
Source§impl PartialEq for CapacityKind
impl PartialEq for CapacityKind
impl StructuralPartialEq for CapacityKind
Auto Trait Implementations§
impl Forget for CapacityKind
impl Freeze for CapacityKind
impl Move for CapacityKind
impl RefUnwindSafe for CapacityKind
impl Send for CapacityKind
impl Sync for CapacityKind
impl Unpin for CapacityKind
impl UnsafeUnpin for CapacityKind
impl UnwindSafe for CapacityKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.