pub struct NullKInvariantResolver<H>(/* private fields */)
where
H: Hasher;Expand description
ADR-036 Null KInvariantResolver impl. resolve always emits the
RESOLVER_ABSENT shape violation — the catamorphism translates this
into PipelineFailure::ShapeViolation recoverable via Term::Try’s
default-propagation handler (ADR-022 D3 G9).
Implementations§
Source§impl<H> NullKInvariantResolver<H>where
H: Hasher,
impl<H> NullKInvariantResolver<H>where
H: Hasher,
Sourcepub const fn new() -> NullKInvariantResolver<H>
pub const fn new() -> NullKInvariantResolver<H>
Construct a new Null resolver.
Trait Implementations§
Source§impl<H> Debug for NullKInvariantResolver<H>
impl<H> Debug for NullKInvariantResolver<H>
Source§impl<H> Default for NullKInvariantResolver<H>
impl<H> Default for NullKInvariantResolver<H>
Source§fn default() -> NullKInvariantResolver<H>
fn default() -> NullKInvariantResolver<H>
Returns the “default value” for a type. Read more
Source§impl<H> KInvariantResolver<H> for NullKInvariantResolver<H>where
H: Hasher,
impl<H> KInvariantResolver<H> for NullKInvariantResolver<H>where
H: Hasher,
Source§fn resolve(
&self,
_input: HomotopyGroupsBytes<'_>,
_out: &mut [u8],
) -> Result<usize, ShapeViolation>
fn resolve( &self, _input: HomotopyGroupsBytes<'_>, _out: &mut [u8], ) -> Result<usize, ShapeViolation>
Resolve per-value content for this category. Read more
Auto Trait Implementations§
impl<H> Freeze for NullKInvariantResolver<H>
impl<H> RefUnwindSafe for NullKInvariantResolver<H>where
H: RefUnwindSafe,
impl<H> Send for NullKInvariantResolver<H>where
H: Send,
impl<H> Sync for NullKInvariantResolver<H>where
H: Sync,
impl<H> Unpin for NullKInvariantResolver<H>where
H: Unpin,
impl<H> UnsafeUnpin for NullKInvariantResolver<H>
impl<H> UnwindSafe for NullKInvariantResolver<H>where
H: UnwindSafe,
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
Mutably borrows from an owned value. Read more