pub struct ConcreteConflictDomain {
pub reads: HashSet<StorageKey>,
pub writes: HashSet<StorageKey>,
}Fields§
§reads: HashSet<StorageKey>§writes: HashSet<StorageKey>Implementations§
Source§impl ConcreteConflictDomain
impl ConcreteConflictDomain
pub fn conflicts_with(&self, other: &Self) -> bool
pub fn from_transaction( tx: &Transaction, cell: Option<&CellAccount>, cells: &HashMap<AccountId, CellAccount>, ) -> Self
Trait Implementations§
Source§impl Clone for ConcreteConflictDomain
impl Clone for ConcreteConflictDomain
Source§fn clone(&self) -> ConcreteConflictDomain
fn clone(&self) -> ConcreteConflictDomain
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for ConcreteConflictDomain
impl RefUnwindSafe for ConcreteConflictDomain
impl Send for ConcreteConflictDomain
impl Sync for ConcreteConflictDomain
impl Unpin for ConcreteConflictDomain
impl UnsafeUnpin for ConcreteConflictDomain
impl UnwindSafe for ConcreteConflictDomain
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