Struct nando_support::log_entry::TransactionLogEntry
source · pub struct TransactionLogEntry {
pub txn_id: TxnId,
pub images: HashMap<ObjectId, Vec<Image>>,
pub read_set: Vec<ObjectVersionPair>,
pub write_set: Vec<(ObjectVersionPair, bool)>,
pub current_namespace: String,
pub pending_intents: Vec<(NandoActivationIntent, Option<usize>)>,
pub continuation_intent: Option<NandoActivationIntent>,
}Fields§
§txn_id: TxnId§images: HashMap<ObjectId, Vec<Image>>§read_set: Vec<ObjectVersionPair>§write_set: Vec<(ObjectVersionPair, bool)>§current_namespace: String§pending_intents: Vec<(NandoActivationIntent, Option<usize>)>§continuation_intent: Option<NandoActivationIntent>Implementations§
source§impl TransactionLogEntry
impl TransactionLogEntry
pub fn new(txn_id: TxnId, num_arguments: Option<u8>) -> Self
pub fn add_new_pre_image(&mut self, iptr: &IPtr, bytes: &[u8])
pub fn add_new_post_image_if_changed(&mut self, iptr: &IPtr, bytes: &[u8])
pub fn add_object_to_read_set( &mut self, object_id: ObjectId, version: ObjectVersion )
pub fn add_object_to_write_set( &mut self, object_id: ObjectId, version: ObjectVersion )
pub fn object_was_modified(&self, object_id: ObjectId) -> bool
Trait Implementations§
source§impl Clone for TransactionLogEntry
impl Clone for TransactionLogEntry
source§fn clone(&self) -> TransactionLogEntry
fn clone(&self) -> TransactionLogEntry
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl RefUnwindSafe for TransactionLogEntry
impl Send for TransactionLogEntry
impl Sync for TransactionLogEntry
impl Unpin for TransactionLogEntry
impl UnwindSafe for TransactionLogEntry
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