Enum aleo_rust::OnChainProgramState
source · pub enum OnChainProgramState {
Different,
Same,
NotDeployed,
}
Expand description
The possible states of a program on chain as compared to the local program of the same name
Variants§
Different
Program deployed but does not match the the local program
Same
Program deployed and matches the local program
NotDeployed
Program not deployed,
Trait Implementations§
source§impl Clone for OnChainProgramState
impl Clone for OnChainProgramState
source§fn clone(&self) -> OnChainProgramState
fn clone(&self) -> OnChainProgramState
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 moresource§impl Debug for OnChainProgramState
impl Debug for OnChainProgramState
source§impl PartialEq<OnChainProgramState> for OnChainProgramState
impl PartialEq<OnChainProgramState> for OnChainProgramState
source§fn eq(&self, other: &OnChainProgramState) -> bool
fn eq(&self, other: &OnChainProgramState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OnChainProgramState
impl StructuralEq for OnChainProgramState
impl StructuralPartialEq for OnChainProgramState
Auto Trait Implementations§
impl RefUnwindSafe for OnChainProgramState
impl Send for OnChainProgramState
impl Sync for OnChainProgramState
impl Unpin for OnChainProgramState
impl UnwindSafe for OnChainProgramState
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<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,
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.