Enum switchboard_solana::oracle_program::accounts::ecvrf::VrfStatus
source · pub enum VrfStatus {
StatusNone,
StatusRequesting,
StatusVerifying,
StatusVerified,
StatusCallbackSuccess,
StatusVerifyFailure,
}
Variants§
StatusNone
VRF Account has not requested randomness yet.
StatusRequesting
VRF Account has requested randomness but has yet to receive an oracle response.
StatusVerifying
VRF Account has received a VRF proof that has yet to be verified on-chain.
StatusVerified
VRF Account has successfully requested and verified randomness on-chain.
StatusCallbackSuccess
VRF Account’s callback was invoked successfully.
StatusVerifyFailure
Failed to verify VRF proof.
Trait Implementations§
source§impl PartialEq for VrfStatus
impl PartialEq for VrfStatus
impl Copy for VrfStatus
impl Eq for VrfStatus
impl StructuralPartialEq for VrfStatus
Auto Trait Implementations§
impl RefUnwindSafe for VrfStatus
impl Send for VrfStatus
impl Sync for VrfStatus
impl Unpin for VrfStatus
impl UnwindSafe for VrfStatus
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§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
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.