Struct tfhe::shortint::ciphertext::NotTrivialCiphertextError
source · pub struct NotTrivialCiphertextError;
Available on crate feature
shortint
only.Expand description
Error for when a non trivial ciphertext was used when a trivial was expected
Trait Implementations§
source§impl Clone for NotTrivialCiphertextError
impl Clone for NotTrivialCiphertextError
source§fn clone(&self) -> NotTrivialCiphertextError
fn clone(&self) -> NotTrivialCiphertextError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NotTrivialCiphertextError
impl Debug for NotTrivialCiphertextError
source§impl Display for NotTrivialCiphertextError
impl Display for NotTrivialCiphertextError
source§impl Error for NotTrivialCiphertextError
impl Error for NotTrivialCiphertextError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for NotTrivialCiphertextError
impl PartialEq for NotTrivialCiphertextError
source§fn eq(&self, other: &NotTrivialCiphertextError) -> bool
fn eq(&self, other: &NotTrivialCiphertextError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NotTrivialCiphertextError
impl Eq for NotTrivialCiphertextError
impl StructuralPartialEq for NotTrivialCiphertextError
Auto Trait Implementations§
impl Freeze for NotTrivialCiphertextError
impl RefUnwindSafe for NotTrivialCiphertextError
impl Send for NotTrivialCiphertextError
impl Sync for NotTrivialCiphertextError
impl Unpin for NotTrivialCiphertextError
impl UnwindSafe for NotTrivialCiphertextError
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