You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: account_proc.rs
    path of file: ./repos/CYFS/src/meta/cyfs-meta/src/executor/tx_proc
    
    the code of the file until where you have to start completion: use crate::executor::context;
use crate::executor::context::UnionAccountState;
use crate::executor::transaction::ExecuteContext;
use crate::executor::tx_executor::TxExecutor;
use crate::helper::{get_meta_err_code, ArcWeakHelper};
use crate::meta_backend::MetaBackend;
use crate::State;
use cyfs_base::*;
use cyfs_base_meta::*;
use std::convert::TryFrom;

impl TxExecutor {
    pub async fn execute_trans_balance(
      
    
pub fn check_trans_tx(tx:&MetaTx, trans_body:&TransTokenTx, op_desc:&Desc) -> Result<u32,u32> {
    //1) 基础检测
    let feed = check_tx_feed(tx)?;

    //2) 业务相关检测
    if let Some(from_id) = &trans_body.from {
        if *from_id == tx.opid {
            return Err(ERROR_SAME_FROM_OP);
        }
    }

    for (to_id,v) in &trans_body.to {
        if *v == 0 {
            return Err(ERROR_TO_IS_ZERO);
        }
    }


    return Ok(feed);
}