pub fn RetrocausalQueueInsert(
key: &StorageKeyContractData,
queue_entry: &[u8],
) -> Result<(), SysErr>Expand description
Inserts an entry into the retrocausal queue at the specified storage key. Like any storage write, this replaces a value of another type at the key. A queue with no live entries does not exist.
§Arguments
keyqueue_entry
This is a convenience wrapper around uninit_RetrocausalQueueInsert that returns the result as SyscallResult<T>.
§Errors
- kSyscallErrorCodeInvalidSyscallInput: The queue entry is too large, or too many entries are inserted in the current transaction.