Enum orao_solana_vrf::error::Error
source · #[repr(u32)]pub enum Error {
ZeroSeed = 0,
SeedAlreadyInUse = 1,
InsufficientFunds = 2,
RandomnessVerificationFailed = 3,
SerializationError = 4,
UnauthorizedFulfillmentAuthority = 5,
InvalidFulfillMessage = 6,
MissingEd25519SigVerifyInstruction = 7,
RandomnessCombinationFailed = 8,
UnknownTreasuryGiven = 9,
}
Variants§
ZeroSeed = 0
SeedAlreadyInUse = 1
InsufficientFunds = 2
RandomnessVerificationFailed = 3
SerializationError = 4
InvalidFulfillMessage = 6
MissingEd25519SigVerifyInstruction = 7
RandomnessCombinationFailed = 8
UnknownTreasuryGiven = 9
Implementations§
Trait Implementations§
impl Copy for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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