pub struct MemoryTxn { /* private fields */ }Implementations§
Source§impl MemoryTxn
impl MemoryTxn
pub fn new(access_type: AccessType, dst_addr: u64) -> Self
pub fn control(dst_addr: u64) -> Self
pub fn read_req(dst_addr: u64) -> Self
pub fn read_rsp(dst_addr: u64) -> Self
pub fn write_req(dst_addr: u64) -> Self
pub fn write_np_req(dst_addr: u64) -> Self
pub fn write_np_rsp(dst_addr: u64) -> Self
pub fn with_src_addr(self, src_addr: u64) -> Self
pub fn with_bytes(self, bytes: usize) -> Self
pub fn with_total_bytes(self, total_bytes: usize) -> Self
pub fn with_destination(self, destination: u64) -> Self
pub fn with_dst_device(self, dst_device: DeviceId) -> Self
pub fn with_src_device(self, src_device: DeviceId) -> Self
pub fn with_cache_hint(self, cache_hint: CacheHintType) -> Self
Trait Implementations§
Source§impl<T> MemoryAccessMatcher<T> for MemoryTxnwhere
T: AccessMemory + Debug,
impl<T> MemoryAccessMatcher<T> for MemoryTxnwhere
T: AccessMemory + Debug,
fn assert_matches(&self, check_id: &str, actual: &T)
Source§impl<T> ValueCheck<T> for MemoryTxnwhere
T: AccessMemory + Debug,
impl<T> ValueCheck<T> for MemoryTxnwhere
T: AccessMemory + Debug,
fn assert_matches(&self, check_id: &str, actual: &T)
Auto Trait Implementations§
impl Freeze for MemoryTxn
impl RefUnwindSafe for MemoryTxn
impl Send for MemoryTxn
impl Sync for MemoryTxn
impl Unpin for MemoryTxn
impl UnsafeUnpin for MemoryTxn
impl UnwindSafe for MemoryTxn
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