#[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,
}Available on crate feature
client only.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§
Trait Implementations§
Source§impl Clone for SbFunctionError
impl Clone for SbFunctionError
Source§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 moreSource§impl Debug for SbFunctionError
impl Debug for SbFunctionError
Source§impl Default for SbFunctionError
impl Default for SbFunctionError
Source§fn default() -> SbFunctionError
fn default() -> SbFunctionError
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SbFunctionError
impl RefUnwindSafe for SbFunctionError
impl Send for SbFunctionError
impl Sync for SbFunctionError
impl Unpin for SbFunctionError
impl UnwindSafe for SbFunctionError
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