Enum IndexTerm
pub enum IndexTerm {
Binary(Vec<u8>),
BinaryVec(Vec<Vec<u8>>),
BitMap(Vec<u16>),
OreFull(Vec<u8>),
OreArray(Vec<Vec<u8>>),
OreLeft(Vec<u8>),
OpeFixed(Vec<u8>),
OpeVariable(Vec<u8>),
SteVecSelector(TokenizedSelector<16>),
SteVecTerm(EncryptedSteVecTerm),
SteQueryVec(SteQueryVec<16>),
Null,
}Variants§
Binary(Vec<u8>)
BinaryVec(Vec<Vec<u8>>)
BitMap(Vec<u16>)
OreFull(Vec<u8>)
Represents a full ORE Ciphertext (both left and right)
OreArray(Vec<Vec<u8>>)
Array of FullOre terms
OreLeft(Vec<u8>)
Represents a Left ORE Ciphertext
OpeFixed(Vec<u8>)
Fixed-width CLWW OPE ciphertext for numeric plaintexts (65 bytes for u64).
OpeVariable(Vec<u8>)
Variable-length CLWW OPE ciphertext for string plaintexts.
SteVecSelector(TokenizedSelector<16>)
SteVecTerm(EncryptedSteVecTerm)
SteQueryVec(SteQueryVec<16>)
Null
NULL index field
Implementations§
Trait Implementations§
impl Eq for IndexTerm
§impl From<Accumulator> for IndexTerm
impl From<Accumulator> for IndexTerm
§fn from(acc: Accumulator) -> Self
fn from(acc: Accumulator) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for IndexTerm
§impl TryFrom<ExactlyOneAccumulator> for IndexTerm
impl TryFrom<ExactlyOneAccumulator> for IndexTerm
§type Error = AccumulatorError
type Error = AccumulatorError
The type returned in the event of a conversion error.
§fn try_from(acc: ExactlyOneAccumulator) -> Result<Self, Self::Error>
fn try_from(acc: ExactlyOneAccumulator) -> Result<Self, Self::Error>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for IndexTerm
impl RefUnwindSafe for IndexTerm
impl Send for IndexTerm
impl Sync for IndexTerm
impl Unpin for IndexTerm
impl UnsafeUnpin for IndexTerm
impl UnwindSafe for IndexTerm
Blanket Implementations§
impl<T> AuthStrategyBounds for T
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more