pub struct DriveProveMethodVersions {
pub prove_elements: FeatureVersion,
pub prove_multiple_state_transition_results: FeatureVersion,
pub prove_state_transition: FeatureVersion,
}Fields§
§prove_elements: FeatureVersion§prove_multiple_state_transition_results: FeatureVersion§prove_state_transition: FeatureVersionAlso selects the layout verify_state_transition_was_executed_with_proof
expects from a producer at this version: from 1, the proof of an owned,
fee-paying transition carries the owner’s credit balance. A new generation
needs a mapping in Drive::proof_carries_owner_balance, which refuses an
unmapped one with UnknownVersionMismatch.
Trait Implementations§
Source§impl Clone for DriveProveMethodVersions
impl Clone for DriveProveMethodVersions
Source§fn clone(&self) -> DriveProveMethodVersions
fn clone(&self) -> DriveProveMethodVersions
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 moreSource§impl Debug for DriveProveMethodVersions
impl Debug for DriveProveMethodVersions
Source§impl Default for DriveProveMethodVersions
impl Default for DriveProveMethodVersions
Source§fn default() -> DriveProveMethodVersions
fn default() -> DriveProveMethodVersions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DriveProveMethodVersions
impl RefUnwindSafe for DriveProveMethodVersions
impl Send for DriveProveMethodVersions
impl Sync for DriveProveMethodVersions
impl Unpin for DriveProveMethodVersions
impl UnsafeUnpin for DriveProveMethodVersions
impl UnwindSafe for DriveProveMethodVersions
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<T, U> IntoPlatformVersioned<U> for Twhere
U: FromPlatformVersioned<T>,
impl<T, U> IntoPlatformVersioned<U> for Twhere
U: FromPlatformVersioned<T>,
Source§fn into_platform_versioned(self, platform_version: &PlatformVersion) -> U
fn into_platform_versioned(self, platform_version: &PlatformVersion) -> U
Performs the conversion.
Source§impl<T, U> TryIntoPlatformVersioned<U> for Twhere
U: TryFromPlatformVersioned<T>,
impl<T, U> TryIntoPlatformVersioned<U> for Twhere
U: TryFromPlatformVersioned<T>,
Source§type Error = <U as TryFromPlatformVersioned<T>>::Error
type Error = <U as TryFromPlatformVersioned<T>>::Error
The type returned in the event of a conversion error.
Source§fn try_into_platform_versioned(
self,
platform_version: &PlatformVersion,
) -> Result<U, <U as TryFromPlatformVersioned<T>>::Error>
fn try_into_platform_versioned( self, platform_version: &PlatformVersion, ) -> Result<U, <U as TryFromPlatformVersioned<T>>::Error>
Performs the conversion.