pub trait CallbackArg {
// Required methods
fn value(&self) -> i32;
fn is_null(&self) -> bool;
fn is_cash_order(&self) -> bool;
fn as_cash_order(&self) -> Result<&CashOrder, Error>;
fn as_cash_order_mut(&mut self) -> Result<&mut CashOrder, Error>;
}Expand description
Trait for arguments to state change callbacks used by the XFS API.