#[repr(u32)]pub enum CallError {
Show 20 variants
Success = 0,
SerializationFailed = 1,
DeserializationFailed = 2,
InvalidWapm = 3,
FetchFailed = 4,
CompileError = 5,
IncorrectAbi = 6,
Aborted = 7,
InvalidHandle = 8,
InvalidTopic = 9,
MissingCallbacks = 10,
Unsupported = 11,
BadRequest = 12,
InternalFailure = 14,
MemoryAllocationFailed = 16,
BusInvocationFailed = 17,
AccessDenied = 18,
AlreadyConsumed = 19,
MemoryAccessViolation = 20,
Unknown = 4_294_967_295,
}
Variants§
Success = 0
SerializationFailed = 1
DeserializationFailed = 2
InvalidWapm = 3
FetchFailed = 4
CompileError = 5
IncorrectAbi = 6
Aborted = 7
InvalidHandle = 8
InvalidTopic = 9
MissingCallbacks = 10
Unsupported = 11
BadRequest = 12
InternalFailure = 14
MemoryAllocationFailed = 16
BusInvocationFailed = 17
AccessDenied = 18
AlreadyConsumed = 19
MemoryAccessViolation = 20
Unknown = 4_294_967_295
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CallError
impl<'de> Deserialize<'de> for CallError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for CallError
Auto Trait Implementations§
impl Freeze for CallError
impl RefUnwindSafe for CallError
impl Send for CallError
impl Sync for CallError
impl Unpin for CallError
impl UnwindSafe for CallError
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