pub enum CacheOptions {
Disabled,
Enabled,
}Expand description
Cache options for DMA buffers.
Variants§
Disabled
Disable CPU caching for the DMA buffer (ZX_CACHE_POLICY_UNCACHED_DEVICE).
Enabled
Enable CPU caching for the DMA buffer.
Trait Implementations§
Source§impl Clone for CacheOptions
impl Clone for CacheOptions
impl Copy for CacheOptions
Source§impl Debug for CacheOptions
impl Debug for CacheOptions
Source§impl Default for CacheOptions
impl Default for CacheOptions
impl Eq for CacheOptions
Source§impl PartialEq for CacheOptions
impl PartialEq for CacheOptions
impl StructuralPartialEq for CacheOptions
Auto Trait Implementations§
impl Freeze for CacheOptions
impl RefUnwindSafe for CacheOptions
impl Send for CacheOptions
impl Sync for CacheOptions
impl Unpin for CacheOptions
impl UnsafeUnpin for CacheOptions
impl UnwindSafe for CacheOptions
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