pub struct LoadedProof {
pub proof: PairProof,
pub reset: bool,
}Expand description
The result of loading a record for a given role + key.
Fields§
§proof: PairProofThe record to act on: the stored one when it matches, else a fresh one.
reset: boolTrue only when a PARSED record was discarded because it described a different role or key — i.e. the key genuinely changed under us, which is worth announcing. An absent or unparseable file is not a discard.
Trait Implementations§
Source§impl Clone for LoadedProof
impl Clone for LoadedProof
Source§impl Debug for LoadedProof
impl Debug for LoadedProof
impl Eq for LoadedProof
Source§impl PartialEq for LoadedProof
impl PartialEq for LoadedProof
impl StructuralPartialEq for LoadedProof
Auto Trait Implementations§
impl Freeze for LoadedProof
impl RefUnwindSafe for LoadedProof
impl Send for LoadedProof
impl Sync for LoadedProof
impl Unpin for LoadedProof
impl UnsafeUnpin for LoadedProof
impl UnwindSafe for LoadedProof
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.