Enum snarkvm_wasm::program::OutputID
pub enum OutputID<N>where
N: Network,{
Constant(Field<N>),
Public(Field<N>),
Private(Field<N>),
Record(Field<N>, Field<N>),
ExternalRecord(Field<N>),
}
Variants
Constant(Field<N>)
The hash of the constant output.
Public(Field<N>)
The hash of the public output.
Private(Field<N>)
The ciphertext hash of the private output.
Record(Field<N>, Field<N>)
The (commitment, checksum)
tuple of the record output.
ExternalRecord(Field<N>)
The hash of the external record output.
Trait Implementations
impl<N> PartialEq<OutputID<N>> for OutputID<N>where
N: PartialEq<N> + Network,
impl<N> PartialEq<OutputID<N>> for OutputID<N>where
N: PartialEq<N> + Network,
impl<N> Eq for OutputID<N>where
N: Eq + Network,
impl<N> StructuralEq for OutputID<N>where
N: Network,
impl<N> StructuralPartialEq for OutputID<N>where
N: Network,
Auto Trait Implementations
impl<N> RefUnwindSafe for OutputID<N>where
<N as Environment>::Field: RefUnwindSafe,
impl<N> Send for OutputID<N>
impl<N> Sync for OutputID<N>
impl<N> Unpin for OutputID<N>where
<N as Environment>::Field: Unpin,
impl<N> UnwindSafe for OutputID<N>where
<N as Environment>::Field: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
sourcefn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
T: Future, type Output = <T as Future>::Output;
sourcefn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;