#[non_exhaustive]#[repr(i32)]pub enum SyscallTraceBody {
Show 40 variants
kSHA256 {
sha256: SyscallSHA256Trace,
},
kGetMsgSender {
get_msg_sender: SyscallGetMsgSenderTrace,
},
kGetCalldataLen {
get_calldata_len: SyscallGetCalldataLenTrace,
},
kGetCalldata {
get_calldata: SyscallGetCalldataTrace,
},
kConsoleLog {
console_log: SyscallConsoleLogTrace,
},
kInvoke {
invoke: SyscallInvokeTrace,
},
kReturn {
return_trace: SyscallReturnTrace,
},
kGetReturnedBuffer {
get_returned_buffer: SyscallGetReturnedBufferTrace,
},
kExit {
exit_trace: SyscallExitTrace,
},
kGetDeployAddress {
get_deploy_address: SyscallGetDeployAddressTrace,
},
kDeployContract {
deploy_contract: SyscallDeployContractTrace,
},
kGetSourceTransactionHash {
get_source_transaction_hash: SyscallGetSourceTransactionHashTrace,
},
kVerifySignature {
verify_signature: SyscallVerifySignatureTrace,
},
kBytestringGetLen {
bytestring_get_len: SyscallBytestringGetLenTrace,
},
kBytestringGet {
bytestring_get: SyscallBytestringGetTrace,
},
kBytestringSet {
bytestring_set: SyscallBytestringSetTrace,
},
kNonnegativeIntGet {
nonnegative_int_get: SyscallNonnegativeIntGetTrace,
},
kNonnegativeIntSetAdd {
nonnegative_int_set_add: SyscallNonnegativeIntSetAddTrace,
},
kDeleteObject {
delete_object: SyscallDeleteObjectTrace,
},
kGetCurrentAddress {
get_current_address: SyscallGetCurrentAddressTrace,
},
kRetrocausalQueueInsert {
retrocausal_queue_insert: SyscallRetrocausalQueueInsertTrace,
},
kRetrocausalQueueConsume {
retrocausal_queue_consume: SyscallRetrocausalQueueConsumeTrace,
},
kGetTransactionStatistics {
get_transaction_statistics: SyscallGetTransactionStatisticsTrace,
},
kChangePublicKeyRegistration {
change_public_key_registration: SyscallChangePublicKeyRegistrationTrace,
},
kLogEvent {
log_event: SyscallLogEventTrace,
},
kGetAuthClaim {
get_auth_claim: SyscallGetAuthClaimTrace,
},
kSHA256Update {
sha256_update: SyscallSHA256UpdateTrace,
},
kSHA256Finalize {
sha256_finalize: SyscallSHA256FinalizeTrace,
},
kWriteAddressRequiredWeight {
write_address_required_weight: SyscallWriteAddressRequiredWeightTrace,
},
kGetBlockHeight {
get_block_height: SyscallGetBlockHeightTrace,
},
kRetrocausalQueuePeekLen {
retrocausal_queue_peek_len: SyscallRetrocausalQueuePeekLenTrace,
},
kMintAuthToken {
mint_auth_token: SyscallMintAuthTokenTrace,
},
kConsumeAuthToken {
consume_auth_token: SyscallConsumeAuthTokenTrace,
},
kSHA256Copy {
sha256_copy: SyscallSHA256CopyTrace,
},
kGetNetworkHash {
get_network_hash: SyscallGetNetworkHashTrace,
},
kGetBlockTimepoint {
get_block_timepoint: SyscallGetBlockTimepointTrace,
},
kSetStorageFlags {
set_storage_flags: SyscallSetStorageFlagsTrace,
},
kGetStorageFlags {
get_storage_flags: SyscallGetStorageFlagsTrace,
},
kClearStorageFlags {
clear_storage_flags: SyscallClearStorageFlagsTrace,
},
Default {
syscall_number: i32,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
kSHA256
Fields
§
sha256: SyscallSHA256TracekGetMsgSender
Fields
§
get_msg_sender: SyscallGetMsgSenderTracekGetCalldataLen
Fields
§
get_calldata_len: SyscallGetCalldataLenTracekGetCalldata
Fields
§
get_calldata: SyscallGetCalldataTracekConsoleLog
Fields
§
console_log: SyscallConsoleLogTracekInvoke
Fields
§
invoke: SyscallInvokeTracekReturn
Fields
§
return_trace: SyscallReturnTracekGetReturnedBuffer
Fields
§
get_returned_buffer: SyscallGetReturnedBufferTracekExit
Fields
§
exit_trace: SyscallExitTracekGetDeployAddress
Fields
§
get_deploy_address: SyscallGetDeployAddressTracekDeployContract
Fields
§
deploy_contract: SyscallDeployContractTracekGetSourceTransactionHash
Fields
§
get_source_transaction_hash: SyscallGetSourceTransactionHashTracekVerifySignature
Fields
§
verify_signature: SyscallVerifySignatureTracekBytestringGetLen
Fields
§
bytestring_get_len: SyscallBytestringGetLenTracekBytestringGet
Fields
§
bytestring_get: SyscallBytestringGetTracekBytestringSet
Fields
§
bytestring_set: SyscallBytestringSetTracekNonnegativeIntGet
Fields
§
nonnegative_int_get: SyscallNonnegativeIntGetTracekNonnegativeIntSetAdd
Fields
§
nonnegative_int_set_add: SyscallNonnegativeIntSetAddTracekDeleteObject
Fields
§
delete_object: SyscallDeleteObjectTracekGetCurrentAddress
Fields
§
get_current_address: SyscallGetCurrentAddressTracekRetrocausalQueueInsert
Fields
§
retrocausal_queue_insert: SyscallRetrocausalQueueInsertTracekRetrocausalQueueConsume
Fields
§
retrocausal_queue_consume: SyscallRetrocausalQueueConsumeTracekGetTransactionStatistics
Fields
§
get_transaction_statistics: SyscallGetTransactionStatisticsTracekChangePublicKeyRegistration
Fields
§
change_public_key_registration: SyscallChangePublicKeyRegistrationTracekLogEvent
Fields
§
log_event: SyscallLogEventTracekGetAuthClaim
Fields
§
get_auth_claim: SyscallGetAuthClaimTracekSHA256Update
Fields
§
sha256_update: SyscallSHA256UpdateTracekSHA256Finalize
Fields
§
sha256_finalize: SyscallSHA256FinalizeTracekWriteAddressRequiredWeight
Fields
§
write_address_required_weight: SyscallWriteAddressRequiredWeightTracekGetBlockHeight
Fields
§
get_block_height: SyscallGetBlockHeightTracekRetrocausalQueuePeekLen
Fields
§
retrocausal_queue_peek_len: SyscallRetrocausalQueuePeekLenTracekMintAuthToken
Fields
§
mint_auth_token: SyscallMintAuthTokenTracekConsumeAuthToken
Fields
§
consume_auth_token: SyscallConsumeAuthTokenTracekSHA256Copy
Fields
§
sha256_copy: SyscallSHA256CopyTracekGetNetworkHash
Fields
§
get_network_hash: SyscallGetNetworkHashTracekGetBlockTimepoint
Fields
§
get_block_timepoint: SyscallGetBlockTimepointTracekSetStorageFlags
Fields
§
set_storage_flags: SyscallSetStorageFlagsTracekGetStorageFlags
Fields
§
get_storage_flags: SyscallGetStorageFlagsTracekClearStorageFlags
Fields
§
clear_storage_flags: SyscallClearStorageFlagsTraceDefault
Implementations§
Source§impl SyscallTraceBody
impl SyscallTraceBody
pub fn syscall_number(&self) -> SyscallNo
Trait Implementations§
Source§impl Clone for SyscallTraceBody
impl Clone for SyscallTraceBody
Source§impl ConstMaxSize for SyscallTraceBody
impl ConstMaxSize for SyscallTraceBody
Source§impl ConstMaxSize for SyscallTraceBody
impl ConstMaxSize for SyscallTraceBody
Source§impl Debug for SyscallTraceBody
impl Debug for SyscallTraceBody
Source§impl<'de> Deserialize<'de> for SyscallTraceBody
impl<'de> Deserialize<'de> for SyscallTraceBody
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 EncodesAs<SyscallTraceBody> for SyscallTraceBody
impl Eq for SyscallTraceBody
Source§impl Hash for SyscallTraceBody
impl Hash for SyscallTraceBody
Source§impl JsonSchema for SyscallTraceBody
impl JsonSchema for SyscallTraceBody
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for SyscallTraceBody
impl Ord for SyscallTraceBody
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SyscallTraceBody
impl PartialEq for SyscallTraceBody
Source§impl PartialOrd for SyscallTraceBody
impl PartialOrd for SyscallTraceBody
Source§impl<'_r> ReadXDR<'_r> for SyscallTraceBody
impl<'_r> ReadXDR<'_r> for SyscallTraceBody
Source§impl Serialize for SyscallTraceBody
impl Serialize for SyscallTraceBody
impl StructuralPartialEq for SyscallTraceBody
Source§impl WriteXDR for SyscallTraceBody
impl WriteXDR for SyscallTraceBody
Source§fn write_xdr<F, W: Writer<F>>(
&self,
__write_xdr_writer: &mut W,
) -> WriteResult<()>
fn write_xdr<F, W: Writer<F>>( &self, __write_xdr_writer: &mut W, ) -> WriteResult<()>
Writes this value as XDR data to the writer. Read more
Source§unsafe fn write_xdr_unchecked<F, W: WriterUnchecked<F>>(
&self,
__write_xdr_writer: &mut W,
)
unsafe fn write_xdr_unchecked<F, W: WriterUnchecked<F>>( &self, __write_xdr_writer: &mut W, )
Writes this value as XDR data to the writer, without runtime checks. Read more
Auto Trait Implementations§
impl Freeze for SyscallTraceBody
impl RefUnwindSafe for SyscallTraceBody
impl Send for SyscallTraceBody
impl Sync for SyscallTraceBody
impl Unpin for SyscallTraceBody
impl UnsafeUnpin for SyscallTraceBody
impl UnwindSafe for SyscallTraceBody
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