Struct concrete::DynShortIntEncryptor
source · [−]pub struct DynShortIntEncryptor { /* private fields */ }
Available on crate feature
shortints
only.Expand description
An instance of a dynamically defined shortint type
To create a new value, you need to use its corresponding DynShortIntEncryptor
Trait Implementations
sourceimpl Clone for DynShortIntEncryptor
impl Clone for DynShortIntEncryptor
sourcefn clone(&self) -> DynShortIntEncryptor
fn clone(&self) -> DynShortIntEncryptor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'de> Deserialize<'de> for DynShortIntEncryptor
impl<'de> Deserialize<'de> for DynShortIntEncryptor
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<T> DynamicFheTryEncryptor<T> for DynShortIntEncryptor where
T: TryInto<u8>,
impl<T> DynamicFheTryEncryptor<T> for DynShortIntEncryptor where
T: TryInto<u8>,
type FheType = DynShortInt
type Error = OutOfRangeError
fn try_encrypt(
&self,
value: T,
key: &ClientKey
) -> Result<Self::FheType, Self::Error>
sourceimpl PartialEq<DynShortIntEncryptor> for DynShortIntEncryptor
impl PartialEq<DynShortIntEncryptor> for DynShortIntEncryptor
sourcefn eq(&self, other: &DynShortIntEncryptor) -> bool
fn eq(&self, other: &DynShortIntEncryptor) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DynShortIntEncryptor) -> bool
fn ne(&self, other: &DynShortIntEncryptor) -> bool
This method tests for !=
.
sourceimpl Serialize for DynShortIntEncryptor
impl Serialize for DynShortIntEncryptor
impl Copy for DynShortIntEncryptor
impl Eq for DynShortIntEncryptor
impl StructuralEq for DynShortIntEncryptor
impl StructuralPartialEq for DynShortIntEncryptor
Auto Trait Implementations
impl RefUnwindSafe for DynShortIntEncryptor
impl Send for DynShortIntEncryptor
impl Sync for DynShortIntEncryptor
impl Unpin for DynShortIntEncryptor
impl UnwindSafe for DynShortIntEncryptor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more