#[non_exhaustive]#[repr(u32)]pub enum sd_cache_mode_t {
SD_CACHE_DISABLED = 0,
SD_CACHE_EASYCACHE = 1,
SD_CACHE_UCACHE = 2,
SD_CACHE_DBCACHE = 3,
SD_CACHE_TAYLORSEER = 4,
SD_CACHE_CACHE_DIT = 5,
SD_CACHE_SPECTRUM = 6,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SD_CACHE_DISABLED = 0
SD_CACHE_EASYCACHE = 1
SD_CACHE_UCACHE = 2
SD_CACHE_DBCACHE = 3
SD_CACHE_TAYLORSEER = 4
SD_CACHE_CACHE_DIT = 5
SD_CACHE_SPECTRUM = 6
Trait Implementations§
Source§impl Clone for sd_cache_mode_t
impl Clone for sd_cache_mode_t
Source§fn clone(&self) -> sd_cache_mode_t
fn clone(&self) -> sd_cache_mode_t
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 sd_cache_mode_t
Source§impl Debug for sd_cache_mode_t
impl Debug for sd_cache_mode_t
impl Eq for sd_cache_mode_t
Source§impl Hash for sd_cache_mode_t
impl Hash for sd_cache_mode_t
Source§impl PartialEq for sd_cache_mode_t
impl PartialEq for sd_cache_mode_t
Source§fn eq(&self, other: &sd_cache_mode_t) -> bool
fn eq(&self, other: &sd_cache_mode_t) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for sd_cache_mode_t
Auto Trait Implementations§
impl Freeze for sd_cache_mode_t
impl RefUnwindSafe for sd_cache_mode_t
impl Send for sd_cache_mode_t
impl Sync for sd_cache_mode_t
impl Unpin for sd_cache_mode_t
impl UnsafeUnpin for sd_cache_mode_t
impl UnwindSafe for sd_cache_mode_t
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