pub enum DmaCoherency {
Coherent,
NonCoherent,
}Expand description
Cache-coherency relationship between one DMA device and the CPU.
This is a device property supplied by firmware or the platform bus. It is independent from address-mask and segment-layout constraints.
Variants§
Coherent
CPU and device observe the same cacheable mapping without explicit cache maintenance.
NonCoherent
CPU ownership transitions require cache maintenance or a coherent CPU mapping supplied by the DMA backend.
Trait Implementations§
Source§impl Clone for DmaCoherency
impl Clone for DmaCoherency
Source§fn clone(&self) -> DmaCoherency
fn clone(&self) -> DmaCoherency
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 moreimpl Copy for DmaCoherency
Source§impl Debug for DmaCoherency
impl Debug for DmaCoherency
impl Eq for DmaCoherency
Source§impl Hash for DmaCoherency
impl Hash for DmaCoherency
Source§impl PartialEq for DmaCoherency
impl PartialEq for DmaCoherency
impl StructuralPartialEq for DmaCoherency
Auto Trait Implementations§
impl Freeze for DmaCoherency
impl RefUnwindSafe for DmaCoherency
impl Send for DmaCoherency
impl Sync for DmaCoherency
impl Unpin for DmaCoherency
impl UnsafeUnpin for DmaCoherency
impl UnwindSafe for DmaCoherency
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