Skip to main content

NullResolverTuple

Struct NullResolverTuple 

Source
pub struct NullResolverTuple;
Expand description

ADR-036 Null resolver tuple — the resolver-absent default. ResolverTuple impl with ARITY = 0 and an empty CATEGORIES list. Applications that don’t declare a resolver! block default to this.

Trait Implementations§

Source§

impl<const INLINE_BYTES: usize, H> ChainComplexResolver<INLINE_BYTES, H> for NullResolverTuple
where H: Hasher,

ADR-036: NullResolverTuple satisfies ChainComplexResolver<H> directly so the HasChainComplexResolver<H> accessor can return self cast to &dyn ChainComplexResolver<H>. The resolve method emits the RESOLVER_ABSENT shape violation — recoverable via Term::Try’s default-propagation handler (ADR-022 D3 G9).

Source§

fn resolve<'a>( &'a self, _input: TermValue<'a, INLINE_BYTES>, ) -> Result<TermValue<'a, INLINE_BYTES>, ShapeViolation>

Resolve per-value content for this category. Read more
Source§

impl Clone for NullResolverTuple

Source§

fn clone(&self) -> NullResolverTuple

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<const INLINE_BYTES: usize, H> CochainComplexResolver<INLINE_BYTES, H> for NullResolverTuple
where H: Hasher,

ADR-036: NullResolverTuple satisfies CochainComplexResolver<H> directly so the HasCochainComplexResolver<H> accessor can return self cast to &dyn CochainComplexResolver<H>. The resolve method emits the RESOLVER_ABSENT shape violation — recoverable via Term::Try’s default-propagation handler (ADR-022 D3 G9).

Source§

fn resolve<'a>( &'a self, _input: TermValue<'a, INLINE_BYTES>, ) -> Result<TermValue<'a, INLINE_BYTES>, ShapeViolation>

Resolve per-value content for this category. Read more
Source§

impl<const INLINE_BYTES: usize, H> CohomologyGroupResolver<INLINE_BYTES, H> for NullResolverTuple
where H: Hasher,

ADR-036: NullResolverTuple satisfies CohomologyGroupResolver<H> directly so the HasCohomologyGroupResolver<H> accessor can return self cast to &dyn CohomologyGroupResolver<H>. The resolve method emits the RESOLVER_ABSENT shape violation — recoverable via Term::Try’s default-propagation handler (ADR-022 D3 G9).

Source§

fn resolve<'a>( &'a self, _input: TermValue<'a, INLINE_BYTES>, ) -> Result<TermValue<'a, INLINE_BYTES>, ShapeViolation>

Resolve per-value content for this category. Read more
Source§

impl Debug for NullResolverTuple

Source§

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

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

impl Default for NullResolverTuple

Source§

fn default() -> NullResolverTuple

Returns the “default value” for a type. Read more
Source§

impl<const INLINE_BYTES: usize, H> HasChainComplexResolver<INLINE_BYTES, H> for NullResolverTuple
where H: Hasher,

ADR-036: NullResolverTuple satisfies HasChainComplexResolver<INLINE_BYTES, H> (returns self).

Source§

fn chain_complex_resolver(&self) -> &dyn ChainComplexResolver<INLINE_BYTES, H>

Returns the ChainComplexResolver impl this ResolverTuple carries.
Source§

impl<const INLINE_BYTES: usize, H> HasCochainComplexResolver<INLINE_BYTES, H> for NullResolverTuple
where H: Hasher,

ADR-036: NullResolverTuple satisfies HasCochainComplexResolver<INLINE_BYTES, H> (returns self).

Source§

fn cochain_complex_resolver( &self, ) -> &dyn CochainComplexResolver<INLINE_BYTES, H>

Returns the CochainComplexResolver impl this ResolverTuple carries.
Source§

impl<const INLINE_BYTES: usize, H> HasCohomologyGroupResolver<INLINE_BYTES, H> for NullResolverTuple
where H: Hasher,

ADR-036: NullResolverTuple satisfies HasCohomologyGroupResolver<INLINE_BYTES, H> (returns self).

Source§

fn cohomology_group_resolver( &self, ) -> &dyn CohomologyGroupResolver<INLINE_BYTES, H>

Returns the CohomologyGroupResolver impl this ResolverTuple carries.
Source§

impl<const INLINE_BYTES: usize, H> HasHomologyGroupResolver<INLINE_BYTES, H> for NullResolverTuple
where H: Hasher,

ADR-036: NullResolverTuple satisfies HasHomologyGroupResolver<INLINE_BYTES, H> (returns self).

Source§

fn homology_group_resolver(&self) -> &dyn HomologyGroupResolver<INLINE_BYTES, H>

Returns the HomologyGroupResolver impl this ResolverTuple carries.
Source§

impl<const INLINE_BYTES: usize, H> HasHomotopyGroupResolver<INLINE_BYTES, H> for NullResolverTuple
where H: Hasher,

ADR-036: NullResolverTuple satisfies HasHomotopyGroupResolver<INLINE_BYTES, H> (returns self).

Source§

fn homotopy_group_resolver(&self) -> &dyn HomotopyGroupResolver<INLINE_BYTES, H>

Returns the HomotopyGroupResolver impl this ResolverTuple carries.
Source§

impl<const INLINE_BYTES: usize, H> HasKInvariantResolver<INLINE_BYTES, H> for NullResolverTuple
where H: Hasher,

ADR-036: NullResolverTuple satisfies HasKInvariantResolver<INLINE_BYTES, H> (returns self).

Source§

fn k_invariant_resolver(&self) -> &dyn KInvariantResolver<INLINE_BYTES, H>

Returns the KInvariantResolver impl this ResolverTuple carries.
Source§

impl<const INLINE_BYTES: usize, H> HasNerveResolver<INLINE_BYTES, H> for NullResolverTuple
where H: Hasher,

ADR-036: NullResolverTuple satisfies HasNerveResolver<INLINE_BYTES, H> (returns self).

Source§

fn nerve_resolver(&self) -> &dyn NerveResolver<INLINE_BYTES, H>

Returns the NerveResolver impl this ResolverTuple carries.
Source§

impl<const INLINE_BYTES: usize, H> HasPostnikovResolver<INLINE_BYTES, H> for NullResolverTuple
where H: Hasher,

ADR-036: NullResolverTuple satisfies HasPostnikovResolver<INLINE_BYTES, H> (returns self).

Source§

fn postnikov_resolver(&self) -> &dyn PostnikovResolver<INLINE_BYTES, H>

Returns the PostnikovResolver impl this ResolverTuple carries.
Source§

impl<const INLINE_BYTES: usize, H> HomologyGroupResolver<INLINE_BYTES, H> for NullResolverTuple
where H: Hasher,

ADR-036: NullResolverTuple satisfies HomologyGroupResolver<H> directly so the HasHomologyGroupResolver<H> accessor can return self cast to &dyn HomologyGroupResolver<H>. The resolve method emits the RESOLVER_ABSENT shape violation — recoverable via Term::Try’s default-propagation handler (ADR-022 D3 G9).

Source§

fn resolve<'a>( &'a self, _input: TermValue<'a, INLINE_BYTES>, ) -> Result<TermValue<'a, INLINE_BYTES>, ShapeViolation>

Resolve per-value content for this category. Read more
Source§

impl<const INLINE_BYTES: usize, H> HomotopyGroupResolver<INLINE_BYTES, H> for NullResolverTuple
where H: Hasher,

ADR-036: NullResolverTuple satisfies HomotopyGroupResolver<H> directly so the HasHomotopyGroupResolver<H> accessor can return self cast to &dyn HomotopyGroupResolver<H>. The resolve method emits the RESOLVER_ABSENT shape violation — recoverable via Term::Try’s default-propagation handler (ADR-022 D3 G9).

Source§

fn resolve<'a>( &'a self, _input: TermValue<'a, INLINE_BYTES>, ) -> Result<TermValue<'a, INLINE_BYTES>, ShapeViolation>

Resolve per-value content for this category. Read more
Source§

impl<const INLINE_BYTES: usize, H> KInvariantResolver<INLINE_BYTES, H> for NullResolverTuple
where H: Hasher,

ADR-036: NullResolverTuple satisfies KInvariantResolver<H> directly so the HasKInvariantResolver<H> accessor can return self cast to &dyn KInvariantResolver<H>. The resolve method emits the RESOLVER_ABSENT shape violation — recoverable via Term::Try’s default-propagation handler (ADR-022 D3 G9).

Source§

fn resolve<'a>( &'a self, _input: TermValue<'a, INLINE_BYTES>, ) -> Result<TermValue<'a, INLINE_BYTES>, ShapeViolation>

Resolve per-value content for this category. Read more
Source§

impl<const INLINE_BYTES: usize, H> NerveResolver<INLINE_BYTES, H> for NullResolverTuple
where H: Hasher,

ADR-036: NullResolverTuple satisfies NerveResolver<H> directly so the HasNerveResolver<H> accessor can return self cast to &dyn NerveResolver<H>. The resolve method emits the RESOLVER_ABSENT shape violation — recoverable via Term::Try’s default-propagation handler (ADR-022 D3 G9).

Source§

fn resolve<'a>( &'a self, _input: TermValue<'a, INLINE_BYTES>, ) -> Result<TermValue<'a, INLINE_BYTES>, ShapeViolation>

Resolve per-value content for this category. Read more
Source§

impl<const INLINE_BYTES: usize, H> PostnikovResolver<INLINE_BYTES, H> for NullResolverTuple
where H: Hasher,

ADR-036: NullResolverTuple satisfies PostnikovResolver<H> directly so the HasPostnikovResolver<H> accessor can return self cast to &dyn PostnikovResolver<H>. The resolve method emits the RESOLVER_ABSENT shape violation — recoverable via Term::Try’s default-propagation handler (ADR-022 D3 G9).

Source§

fn resolve<'a>( &'a self, _input: TermValue<'a, INLINE_BYTES>, ) -> Result<TermValue<'a, INLINE_BYTES>, ShapeViolation>

Resolve per-value content for this category. Read more
Source§

impl ResolverTuple for NullResolverTuple

Source§

const ARITY: usize = 0

Number of resolver positions in this tuple (bounded by MAX_RESOLVER_TUPLE_ARITY).
Source§

const CATEGORIES: &'static [ResolverCategory]

Resolver category at each tuple position.
Source§

type ShapeRegistry = EmptyShapeRegistry

ADR-057: the application’s shape-IRI registry. ψ_1’s NerveResolver impl expands ConstraintRef::Recurse references through this registry when computing N(C). Defaults to shape_iri_registry::EmptyShapeRegistry (foundation built-in registry only); applications declaring recursive shapes via the SDK register_shape! macro thread the marker type through their resolver!-declared ResolverTuple.
Source§

impl Copy for NullResolverTuple

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> Same for T

Source§

type Output = T

Should always be Self
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.