pub struct VerifyCacheKey(/* private fields */);Expand description
An opaque transaction verification cache key derived from a witness transaction hash.
The private field and the absence of a Byte32 conversion ensure callers can only create a
key from a TransactionView.
Trait Implementations§
Source§impl Clone for VerifyCacheKey
impl Clone for VerifyCacheKey
Source§fn clone(&self) -> VerifyCacheKey
fn clone(&self) -> VerifyCacheKey
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 VerifyCacheKey
impl Debug for VerifyCacheKey
impl Eq for VerifyCacheKey
Source§impl From<&TransactionView> for VerifyCacheKey
impl From<&TransactionView> for VerifyCacheKey
Source§fn from(tx: &TransactionView) -> Self
fn from(tx: &TransactionView) -> Self
Converts to this type from the input type.
Source§impl Hash for VerifyCacheKey
impl Hash for VerifyCacheKey
Source§impl PartialEq for VerifyCacheKey
impl PartialEq for VerifyCacheKey
impl StructuralPartialEq for VerifyCacheKey
Auto Trait Implementations§
impl !Freeze for VerifyCacheKey
impl RefUnwindSafe for VerifyCacheKey
impl Send for VerifyCacheKey
impl Sync for VerifyCacheKey
impl Unpin for VerifyCacheKey
impl UnsafeUnpin for VerifyCacheKey
impl UnwindSafe for VerifyCacheKey
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> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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