Enum twizzler_driver::dma::Access
source · pub enum Access {
HostToDevice,
DeviceToHost,
BiDirectional,
}
Expand description
Intended access direction for DMA memory.
Variants§
HostToDevice
The memory is used for the host to write and the device to read. Device writes may not be coherent.
DeviceToHost
The memory is used for the host to read and the device to write. Host writes may not be coherent.
BiDirectional
The memory is accessed read/write by both device and host.
Trait Implementations§
source§impl Ord for Access
impl Ord for Access
source§impl PartialEq<Access> for Access
impl PartialEq<Access> for Access
source§impl PartialOrd<Access> for Access
impl PartialOrd<Access> for Access
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Access
impl Eq for Access
impl StructuralEq for Access
impl StructuralPartialEq for Access
Auto Trait Implementations§
impl DeviceSync for Access
impl ObjSafe for Access
impl RefUnwindSafe for Access
impl Send for Access
impl Sync for Access
impl Unpin for Access
impl UnwindSafe for Access
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