pub trait LweCiphertextConsumingRetrievalEngine<Ciphertext, Container>: AbstractEnginewhere
    Ciphertext: LweCiphertextEntity,
{ fn consume_retrieve_lwe_ciphertext(
        &mut self,
        ciphertext: Ciphertext
    ) -> Result<Container, LweCiphertextConsumingRetrievalError<Self::EngineError>>; unsafe fn consume_retrieve_lwe_ciphertext_unchecked(
        &mut self,
        ciphertext: Ciphertext
    ) -> Container; }
Expand description

A trait for engines retrieving the content of the container from an LWE ciphertext consuming it in the process.

Semantics

This pure operation retrieves the content of the container from the input LWE ciphertext consuming it in the process.

Required Methods

Retrieves the content of the container from an LWE ciphertext, consuming it in the process.

Unsafely retrieves the content of the container from an LWE ciphertext, consuming it in the process.

Safety

For the general safety concerns regarding this operation, refer to the different variants of LweCiphertextConsumingRetrievalError. For safety concerns specific to an engine, refer to the implementer safety section.

Implementors

Description:

Implementation of LweCiphertextConsumingRetrievalEngine for DefaultEngine that returns the underlying vec of a LweCiphertext32 consuming it in the process

Description:

Implementation of LweCiphertextConsumingRetrievalEngine for DefaultEngine that returns the underlying vec of a LweCiphertext64 consuming it in the process

Description:

Implementation of LweCiphertextConsumingRetrievalEngine for DefaultEngine that returns the underlying container of a LweCiphertextMutView32 consuming it in the process

Description:

Implementation of LweCiphertextConsumingRetrievalEngine for DefaultEngine that returns the underlying container of a LweCiphertextMutView64 consuming it in the process

Description:

Implementation of LweCiphertextConsumingRetrievalEngine for DefaultEngine that returns the underlying container of a LweCiphertextView32 consuming it in the process

Description:

Implementation of LweCiphertextConsumingRetrievalEngine for DefaultEngine that returns the underlying container of a LweCiphertextView64 consuming it in the process