Struct simics_api_sys::bindings::transaction
source · #[repr(C)]pub struct transaction {
pub atoms: *mut atom_t,
pub prev: *mut transaction,
pub _cache: *mut transaction_cache,
pub _status: uint64,
}
Expand description
The field atoms points to the atoms list,
which must be terminated with the constant
The prev field points to an optional parent transaction.
If a particular atom is not found in the atoms list, then the
parent’s list of atoms is consulted instead. The prev
pointer is also used when a chained transaction is monitored
with
Besides the fields above, the transaction contains some internal fields that should be initialized to 0. The internal fields should not be referenced explicitly since they are likely to change in future Simics releases.
For details, please refer to “Transactions” chapter in the Model Builder’s User Guide.
Fields§
§atoms: *mut atom_t
§prev: *mut transaction
§_cache: *mut transaction_cache
§_status: uint64
Trait Implementations§
source§impl Clone for transaction
impl Clone for transaction
source§fn clone(&self) -> transaction
fn clone(&self) -> transaction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for transaction
impl Debug for transaction
source§impl Default for transaction
impl Default for transaction
source§impl Hash for transaction
impl Hash for transaction
source§impl Ord for transaction
impl Ord for transaction
source§fn cmp(&self, other: &transaction) -> Ordering
fn cmp(&self, other: &transaction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for transaction
impl PartialEq for transaction
source§impl PartialOrd for transaction
impl PartialOrd for transaction
impl Copy for transaction
impl Eq for transaction
impl StructuralPartialEq for transaction
Auto Trait Implementations§
impl Freeze for transaction
impl RefUnwindSafe for transaction
impl !Send for transaction
impl !Sync for transaction
impl Unpin for transaction
impl UnwindSafe for transaction
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)