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<H> ChainComplexResolver<H> for NullResolverTuplewhere
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).
impl<H> ChainComplexResolver<H> for NullResolverTuplewhere
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(
&self,
_input: SimplicialComplexBytes<'_>,
_out: &mut [u8],
) -> Result<usize, ShapeViolation>
fn resolve( &self, _input: SimplicialComplexBytes<'_>, _out: &mut [u8], ) -> Result<usize, ShapeViolation>
Source§impl Clone for NullResolverTuple
impl Clone for NullResolverTuple
Source§fn clone(&self) -> NullResolverTuple
fn clone(&self) -> NullResolverTuple
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<H> CochainComplexResolver<H> for NullResolverTuplewhere
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).
impl<H> CochainComplexResolver<H> for NullResolverTuplewhere
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(
&self,
_input: ChainComplexBytes<'_>,
_out: &mut [u8],
) -> Result<usize, ShapeViolation>
fn resolve( &self, _input: ChainComplexBytes<'_>, _out: &mut [u8], ) -> Result<usize, ShapeViolation>
Source§impl<H> CohomologyGroupResolver<H> for NullResolverTuplewhere
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).
impl<H> CohomologyGroupResolver<H> for NullResolverTuplewhere
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(
&self,
_input: CochainComplexBytes<'_>,
_out: &mut [u8],
) -> Result<usize, ShapeViolation>
fn resolve( &self, _input: CochainComplexBytes<'_>, _out: &mut [u8], ) -> Result<usize, ShapeViolation>
Source§impl Debug for NullResolverTuple
impl Debug for NullResolverTuple
Source§impl Default for NullResolverTuple
impl Default for NullResolverTuple
Source§fn default() -> NullResolverTuple
fn default() -> NullResolverTuple
Source§impl<H> HasChainComplexResolver<H> for NullResolverTuplewhere
H: Hasher,
ADR-036: NullResolverTuple satisfies HasChainComplexResolver<H> (returns self).
impl<H> HasChainComplexResolver<H> for NullResolverTuplewhere
H: Hasher,
ADR-036: NullResolverTuple satisfies HasChainComplexResolver<H> (returns self).
Source§fn chain_complex_resolver(&self) -> &dyn ChainComplexResolver<H>
fn chain_complex_resolver(&self) -> &dyn ChainComplexResolver<H>
ChainComplexResolver impl this ResolverTuple carries.Source§impl<H> HasCochainComplexResolver<H> for NullResolverTuplewhere
H: Hasher,
ADR-036: NullResolverTuple satisfies HasCochainComplexResolver<H> (returns self).
impl<H> HasCochainComplexResolver<H> for NullResolverTuplewhere
H: Hasher,
ADR-036: NullResolverTuple satisfies HasCochainComplexResolver<H> (returns self).
Source§fn cochain_complex_resolver(&self) -> &dyn CochainComplexResolver<H>
fn cochain_complex_resolver(&self) -> &dyn CochainComplexResolver<H>
CochainComplexResolver impl this ResolverTuple carries.Source§impl<H> HasCohomologyGroupResolver<H> for NullResolverTuplewhere
H: Hasher,
ADR-036: NullResolverTuple satisfies HasCohomologyGroupResolver<H> (returns self).
impl<H> HasCohomologyGroupResolver<H> for NullResolverTuplewhere
H: Hasher,
ADR-036: NullResolverTuple satisfies HasCohomologyGroupResolver<H> (returns self).
Source§fn cohomology_group_resolver(&self) -> &dyn CohomologyGroupResolver<H>
fn cohomology_group_resolver(&self) -> &dyn CohomologyGroupResolver<H>
CohomologyGroupResolver impl this ResolverTuple carries.Source§impl<H> HasHomologyGroupResolver<H> for NullResolverTuplewhere
H: Hasher,
ADR-036: NullResolverTuple satisfies HasHomologyGroupResolver<H> (returns self).
impl<H> HasHomologyGroupResolver<H> for NullResolverTuplewhere
H: Hasher,
ADR-036: NullResolverTuple satisfies HasHomologyGroupResolver<H> (returns self).
Source§fn homology_group_resolver(&self) -> &dyn HomologyGroupResolver<H>
fn homology_group_resolver(&self) -> &dyn HomologyGroupResolver<H>
HomologyGroupResolver impl this ResolverTuple carries.Source§impl<H> HasHomotopyGroupResolver<H> for NullResolverTuplewhere
H: Hasher,
ADR-036: NullResolverTuple satisfies HasHomotopyGroupResolver<H> (returns self).
impl<H> HasHomotopyGroupResolver<H> for NullResolverTuplewhere
H: Hasher,
ADR-036: NullResolverTuple satisfies HasHomotopyGroupResolver<H> (returns self).
Source§fn homotopy_group_resolver(&self) -> &dyn HomotopyGroupResolver<H>
fn homotopy_group_resolver(&self) -> &dyn HomotopyGroupResolver<H>
HomotopyGroupResolver impl this ResolverTuple carries.Source§impl<H> HasKInvariantResolver<H> for NullResolverTuplewhere
H: Hasher,
ADR-036: NullResolverTuple satisfies HasKInvariantResolver<H> (returns self).
impl<H> HasKInvariantResolver<H> for NullResolverTuplewhere
H: Hasher,
ADR-036: NullResolverTuple satisfies HasKInvariantResolver<H> (returns self).
Source§fn k_invariant_resolver(&self) -> &dyn KInvariantResolver<H>
fn k_invariant_resolver(&self) -> &dyn KInvariantResolver<H>
KInvariantResolver impl this ResolverTuple carries.Source§impl<H> HasNerveResolver<H> for NullResolverTuplewhere
H: Hasher,
ADR-036: NullResolverTuple satisfies HasNerveResolver<H> (returns self).
impl<H> HasNerveResolver<H> for NullResolverTuplewhere
H: Hasher,
ADR-036: NullResolverTuple satisfies HasNerveResolver<H> (returns self).
Source§fn nerve_resolver(&self) -> &dyn NerveResolver<H>
fn nerve_resolver(&self) -> &dyn NerveResolver<H>
NerveResolver impl this ResolverTuple carries.Source§impl<H> HasPostnikovResolver<H> for NullResolverTuplewhere
H: Hasher,
ADR-036: NullResolverTuple satisfies HasPostnikovResolver<H> (returns self).
impl<H> HasPostnikovResolver<H> for NullResolverTuplewhere
H: Hasher,
ADR-036: NullResolverTuple satisfies HasPostnikovResolver<H> (returns self).
Source§fn postnikov_resolver(&self) -> &dyn PostnikovResolver<H>
fn postnikov_resolver(&self) -> &dyn PostnikovResolver<H>
PostnikovResolver impl this ResolverTuple carries.Source§impl<H> HomologyGroupResolver<H> for NullResolverTuplewhere
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).
impl<H> HomologyGroupResolver<H> for NullResolverTuplewhere
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(
&self,
_input: ChainComplexBytes<'_>,
_out: &mut [u8],
) -> Result<usize, ShapeViolation>
fn resolve( &self, _input: ChainComplexBytes<'_>, _out: &mut [u8], ) -> Result<usize, ShapeViolation>
Source§impl<H> HomotopyGroupResolver<H> for NullResolverTuplewhere
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).
impl<H> HomotopyGroupResolver<H> for NullResolverTuplewhere
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(
&self,
_input: PostnikovTowerBytes<'_>,
_out: &mut [u8],
) -> Result<usize, ShapeViolation>
fn resolve( &self, _input: PostnikovTowerBytes<'_>, _out: &mut [u8], ) -> Result<usize, ShapeViolation>
Source§impl<H> KInvariantResolver<H> for NullResolverTuplewhere
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).
impl<H> KInvariantResolver<H> for NullResolverTuplewhere
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(
&self,
_input: HomotopyGroupsBytes<'_>,
_out: &mut [u8],
) -> Result<usize, ShapeViolation>
fn resolve( &self, _input: HomotopyGroupsBytes<'_>, _out: &mut [u8], ) -> Result<usize, ShapeViolation>
Source§impl<H> NerveResolver<H> for NullResolverTuplewhere
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).
impl<H> NerveResolver<H> for NullResolverTuplewhere
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§impl<H> PostnikovResolver<H> for NullResolverTuplewhere
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).
impl<H> PostnikovResolver<H> for NullResolverTuplewhere
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(
&self,
_input: SimplicialComplexBytes<'_>,
_out: &mut [u8],
) -> Result<usize, ShapeViolation>
fn resolve( &self, _input: SimplicialComplexBytes<'_>, _out: &mut [u8], ) -> Result<usize, ShapeViolation>
Source§impl ResolverTuple for NullResolverTuple
impl ResolverTuple for NullResolverTuple
Source§const ARITY: usize = 0
const ARITY: usize = 0
MAX_RESOLVER_TUPLE_ARITY).Source§const CATEGORIES: &'static [ResolverCategory]
const CATEGORIES: &'static [ResolverCategory]
Source§type ShapeRegistry = EmptyShapeRegistry
type ShapeRegistry = EmptyShapeRegistry
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.