pub enum Query {
Latest,
VersionId(String),
VersionTime(String),
VersionNumber(i64),
}Expand description
Which version of the log to resolve.
Variants§
Latest
The last entry (what credential verification always uses).
VersionId(String)
The entry with exactly this versionId.
VersionTime(String)
The entry active at this protocol time: the last entry whose versionTime is at or before it.
VersionNumber(i64)
The entry with this version number (1 is the first).
Trait Implementations§
impl Eq for Query
impl StructuralPartialEq for Query
Auto Trait Implementations§
impl Forget for Query
impl Freeze for Query
impl Move for Query
impl RefUnwindSafe for Query
impl Send for Querywhere
RawVecInner: Send,
impl Sync for Querywhere
RawVecInner: Sync,
impl Unpin for Query
impl UnsafeUnpin for Query
impl UnwindSafe for Querywhere
RawVecInner: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.