Enum snarkvm_debug::prelude::FinalizeType
pub enum FinalizeType<N>where
N: Network,{
Plaintext(PlaintextType<N>),
Future(Locator<N>),
}Variants§
Trait Implementations§
§impl<N> Clone for FinalizeType<N>
impl<N> Clone for FinalizeType<N>
§fn clone(&self) -> FinalizeType<N>
fn clone(&self) -> FinalizeType<N>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl<N> Debug for FinalizeType<N>where
N: Network,
impl<N> Debug for FinalizeType<N>where
N: Network,
§impl<'de, N> Deserialize<'de> for FinalizeType<N>where
N: Network,
impl<'de, N> Deserialize<'de> for FinalizeType<N>where
N: Network,
§fn deserialize<D>(
deserializer: D
) -> Result<FinalizeType<N>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<FinalizeType<N>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserializes the finalize type from a string or bytes.
§impl<N> Display for FinalizeType<N>where
N: Network,
impl<N> Display for FinalizeType<N>where
N: Network,
§impl<N> EnumIndex for FinalizeType<N>where
N: Network,
impl<N> EnumIndex for FinalizeType<N>where
N: Network,
fn enum_index(&self) -> usize
§impl<N> From<FinalizeType<N>> for RegisterType<N>where
N: Network,
impl<N> From<FinalizeType<N>> for RegisterType<N>where
N: Network,
§fn from(finalize: FinalizeType<N>) -> RegisterType<N>
fn from(finalize: FinalizeType<N>) -> RegisterType<N>
Converts a finalize type to a register type.
§impl<N> FromBytes for FinalizeType<N>where
N: Network,
impl<N> FromBytes for FinalizeType<N>where
N: Network,
§impl<N> FromStr for FinalizeType<N>where
N: Network,
impl<N> FromStr for FinalizeType<N>where
N: Network,
§impl<N> Hash for FinalizeType<N>
impl<N> Hash for FinalizeType<N>
§impl<N> Parser for FinalizeType<N>where
N: Network,
impl<N> Parser for FinalizeType<N>where
N: Network,
§impl<N> PartialEq for FinalizeType<N>
impl<N> PartialEq for FinalizeType<N>
§fn eq(&self, other: &FinalizeType<N>) -> bool
fn eq(&self, other: &FinalizeType<N>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.§impl<N> Serialize for FinalizeType<N>where
N: Network,
impl<N> Serialize for FinalizeType<N>where
N: Network,
§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serializes the finalize type into string or bytes.
§impl<N> ToBytes for FinalizeType<N>where
N: Network,
impl<N> ToBytes for FinalizeType<N>where
N: Network,
impl<N> Eq for FinalizeType<N>
impl<N> StructuralEq for FinalizeType<N>where
N: Network,
impl<N> StructuralPartialEq for FinalizeType<N>where
N: Network,
Auto Trait Implementations§
impl<N> RefUnwindSafe for FinalizeType<N>
impl<N> Send for FinalizeType<N>
impl<N> Sync for FinalizeType<N>
impl<N> Unpin for FinalizeType<N>
impl<N> UnwindSafe for FinalizeType<N>
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<'de, T> DeserializeExt<'de> for Twhere
T: DeserializeOwned,
impl<'de, T> DeserializeExt<'de> for Twhere
T: DeserializeOwned,
fn take_from_value<D>(
value: &mut Value,
field: &str
) -> Result<T, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
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.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.