pub enum HistoryVerificationParams {
Default {
history_params: HistoryParams,
},
AllowMissingValues {
history_params: HistoryParams,
},
}Expand description
Parameters for customizing how history proof verification proceeds
Variants§
Default
No customization to the verification procedure
Fields
§
history_params: HistoryParamsthe HistoryParams that was used to generate the history proof
AllowMissingValues
Allows for the encountering of missing (tombstoned) values instead of attempting to check if their hash matches the leaf node hash
Fields
§
history_params: HistoryParamsthe HistoryParams that was used to generate the history proof
Trait Implementations§
Source§impl Clone for HistoryVerificationParams
impl Clone for HistoryVerificationParams
Source§fn clone(&self) -> HistoryVerificationParams
fn clone(&self) -> HistoryVerificationParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HistoryVerificationParams
Source§impl Default for HistoryVerificationParams
impl Default for HistoryVerificationParams
Source§fn default() -> HistoryVerificationParams
fn default() -> HistoryVerificationParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HistoryVerificationParams
impl RefUnwindSafe for HistoryVerificationParams
impl Send for HistoryVerificationParams
impl Sync for HistoryVerificationParams
impl Unpin for HistoryVerificationParams
impl UnsafeUnpin for HistoryVerificationParams
impl UnwindSafe for HistoryVerificationParams
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