Skip to main content

ArgumentFault

Enum ArgumentFault 

Source
pub enum ArgumentFault {
    InvalidDimension,
    UnknownCrs,
    InvalidLatitude,
    NonFiniteCoordinate,
    WrongType,
    General(ErrorKind),
}
Expand description

The per-site fault of a run-time argument rejection (Error::ArgumentValue): either one of the sites whose live GQLSTATUS is its own, or Self::General for the kind-carrying sites that keep the general one. Live Neo4j (2026.09/2026.10) reports point()’s in-map rejections under one ArgumentError class but a code per rejection site; the classifier maps each variant to that code, so the code is data the site names, never recovered from the message text. The fault also fixes the detail token’s ErrorKind (Self::kind), so the two cannot disagree, and the variant carries no second copy of it.

Variants§

§

InvalidDimension

The srid does not match the coordinate dimension (22N20).

§

UnknownCrs

An unknown srid code or crs name (22N21).

§

InvalidLatitude

A latitude outside [-90, 90] (22N23).

§

NonFiniteCoordinate

A NaN or infinite coordinate (22N24).

§

WrongType

A wrong-typed argument (22N27, classified under the type family’s 22G03).

§

General(ErrorKind)

A site with no GQLSTATUS of its own: the detail token names kind and the classifier keeps the general status.

Implementations§

Source§

impl ArgumentFault

Source

pub fn kind(self) -> ErrorKind

The detail token’s kind: a value domain, or a wrong type.

Trait Implementations§

Source§

impl Clone for ArgumentFault

Source§

fn clone(&self) -> Self

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 ArgumentFault

Source§

impl Debug for ArgumentFault

Source§

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

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

impl Eq for ArgumentFault

Source§

impl PartialEq for ArgumentFault

Source§

fn eq(&self, other: &Self) -> 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 ArgumentFault

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<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
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 = !

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

fn try_from(value: U) -> Result<T, !>

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.