Enum sabre_sdk::WasmSdkError [−][src]
pub enum WasmSdkError {
InvalidTransaction(String),
InternalError(String),
StateSetError(String),
AllocError(String),
MemoryWriteError(String),
MemoryRetrievalError(String),
Utf8EncodeError(FromUtf8Error),
ProtobufError(ProtobufError),
}
Variants
InvalidTransaction(String)
Tuple Fields
0: String
InternalError(String)
Tuple Fields
0: String
StateSetError(String)
Tuple Fields
0: String
AllocError(String)
Tuple Fields
0: String
MemoryWriteError(String)
Tuple Fields
0: String
MemoryRetrievalError(String)
Tuple Fields
0: String
Utf8EncodeError(FromUtf8Error)
Tuple Fields
ProtobufError(ProtobufError)
Tuple Fields
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for WasmSdkError
impl Send for WasmSdkError
impl Sync for WasmSdkError
impl Unpin for WasmSdkError
impl !UnwindSafe for WasmSdkError
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more