#[repr(u8)]pub enum SbFunctionError {
None = 0,
FunctionError(u8),
FatalError = 199,
FunctionResultEmitError = 200,
QuoteVerificationError = 201,
SwitchboardError(u8),
OutOfFunds = 250,
Reserved251 = 251,
ContainerUnavailable = 252,
FunctionResultNotFound = 253,
CallbackError = 254,
FunctionTimeout = 255,
}
Variants§
None = 0
FunctionError(u8)
FatalError = 199
FunctionResultEmitError = 200
Failed to build a transaction with the emitted FunctionResult
QuoteVerificationError = 201
The FunctionResult generated SGX quote failed verification
SwitchboardError(u8)
OutOfFunds = 250
Reserved251 = 251
FunctionResultNotFound = 253
Failed to find the FunctionResult in the emitted container logs
CallbackError = 254
Failed to execute the FunctionResult emitted transaction
FunctionTimeout = 255
Function failed to complete within the designated timeout
Implementations§
§impl SbFunctionError
impl SbFunctionError
Trait Implementations§
§impl Clone for SbFunctionError
impl Clone for SbFunctionError
§fn clone(&self) -> SbFunctionError
fn clone(&self) -> SbFunctionError
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 more§impl Debug for SbFunctionError
impl Debug for SbFunctionError
§impl Default for SbFunctionError
impl Default for SbFunctionError
§fn default() -> SbFunctionError
fn default() -> SbFunctionError
Returns the “default value” for a type. Read more
§impl From<u8> for SbFunctionError
impl From<u8> for SbFunctionError
§fn from(value: u8) -> SbFunctionError
fn from(value: u8) -> SbFunctionError
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SbFunctionError
impl Send for SbFunctionError
impl Sync for SbFunctionError
impl Unpin for SbFunctionError
impl UnwindSafe for SbFunctionError
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