#[repr(u32)]pub enum SwitchboardAttestationError {
Show 59 variants
GenericError = 0,
InvalidQuote = 1,
QuoteExpired = 2,
InvalidNode = 3,
InsufficientQueue = 4,
QueueFull = 5,
InvalidEnclaveSigner = 6,
InvalidSigner = 7,
MrEnclavesEmpty = 8,
MrEnclaveAlreadyExists = 9,
MrEnclaveDoesntExist = 10,
MrEnclaveAtCapacity = 11,
PermissionDenied = 12,
InvalidConstraint = 13,
InvalidTimestamp = 14,
InvalidMrEnclave = 15,
InvalidReportData = 16,
InsufficientLoadAmount = 17,
IncorrectObservedTime = 18,
InvalidQuoteMode = 19,
InvalidVerifierIdx = 20,
InvalidSelfVerifyRequest = 21,
IncorrectMrEnclave = 22,
InvalidResponder = 23,
InvalidAddressLookupAddress = 24,
InvalidQueue = 25,
IllegalVerifier = 26,
InvalidEscrow = 27,
InvalidAuthority = 28,
IllegalExecuteAttempt = 29,
RequestExpired = 30,
InsufficientFunds = 31,
MissingFunctionEscrow = 32,
InvalidRequest = 33,
FunctionNotReady = 34,
UserRequestsDisabled = 35,
MissingFunctionAuthority = 36,
FunctionCloseNotReady = 37,
RequestAlreadyInitialized = 38,
AccountCloseNotPermitted = 39,
AccountCloseNotReady = 40,
FunctionRequestNotReady = 41,
InvalidParamsHash = 42,
RequestInvalidStatus = 43,
ContainerParamsTooLong = 44,
RoutineDisabled = 45,
FunctionRoutinesDisabled = 46,
ConfigParameterLocked = 47,
RequestBufferFull = 48,
RequestRoundNotActive = 49,
EmptyEscrow = 50,
MissingSbWalletAuthoritySigner = 51,
RequestRoundAlreadyClosed = 52,
MethodDeprecated = 53,
FunctionServicesDisabled = 54,
ServiceDisabled = 55,
ServiceWorkerFull = 56,
ServiceWorkerEnclaveFull = 57,
ServiceAlreadyAssignedToWorker = 58,
}
Variants§
GenericError = 0
InvalidQuote = 1
QuoteExpired = 2
InvalidNode = 3
InsufficientQueue = 4
QueueFull = 5
InvalidEnclaveSigner = 6
InvalidSigner = 7
MrEnclavesEmpty = 8
MrEnclaveAlreadyExists = 9
MrEnclaveDoesntExist = 10
MrEnclaveAtCapacity = 11
PermissionDenied = 12
InvalidConstraint = 13
InvalidTimestamp = 14
InvalidMrEnclave = 15
InvalidReportData = 16
InsufficientLoadAmount = 17
IncorrectObservedTime = 18
InvalidQuoteMode = 19
InvalidVerifierIdx = 20
InvalidSelfVerifyRequest = 21
IncorrectMrEnclave = 22
InvalidResponder = 23
InvalidAddressLookupAddress = 24
InvalidQueue = 25
IllegalVerifier = 26
InvalidEscrow = 27
InvalidAuthority = 28
IllegalExecuteAttempt = 29
RequestExpired = 30
InsufficientFunds = 31
MissingFunctionEscrow = 32
InvalidRequest = 33
FunctionNotReady = 34
UserRequestsDisabled = 35
MissingFunctionAuthority = 36
FunctionCloseNotReady = 37
RequestAlreadyInitialized = 38
AccountCloseNotPermitted = 39
AccountCloseNotReady = 40
FunctionRequestNotReady = 41
InvalidParamsHash = 42
RequestInvalidStatus = 43
ContainerParamsTooLong = 44
RoutineDisabled = 45
FunctionRoutinesDisabled = 46
ConfigParameterLocked = 47
RequestBufferFull = 48
RequestRoundNotActive = 49
EmptyEscrow = 50
MissingSbWalletAuthoritySigner = 51
RequestRoundAlreadyClosed = 52
MethodDeprecated = 53
FunctionServicesDisabled = 54
ServiceDisabled = 55
ServiceWorkerFull = 56
ServiceWorkerEnclaveFull = 57
ServiceAlreadyAssignedToWorker = 58
Implementations§
Trait Implementations§
source§impl Clone for SwitchboardError
impl Clone for SwitchboardError
source§fn clone(&self) -> SwitchboardError
fn clone(&self) -> SwitchboardError
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 SwitchboardError
impl Debug for SwitchboardError
source§impl Display for SwitchboardError
impl Display for SwitchboardError
source§impl From<SwitchboardError> for Error
impl From<SwitchboardError> for Error
source§fn from(error_code: SwitchboardError) -> Error
fn from(error_code: SwitchboardError) -> Error
Converts to this type from the input type.
source§impl From<SwitchboardError> for u32
impl From<SwitchboardError> for u32
source§fn from(e: SwitchboardError) -> u32
fn from(e: SwitchboardError) -> u32
Converts to this type from the input type.
source§impl PartialEq for SwitchboardError
impl PartialEq for SwitchboardError
source§fn eq(&self, other: &SwitchboardError) -> bool
fn eq(&self, other: &SwitchboardError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SwitchboardError
impl Eq for SwitchboardError
impl StructuralPartialEq for SwitchboardError
Auto Trait Implementations§
impl RefUnwindSafe for SwitchboardError
impl Send for SwitchboardError
impl Sync for SwitchboardError
impl Unpin for SwitchboardError
impl UnwindSafe for SwitchboardError
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.