Enum linux_raw_sys::general::membarrier_cmd
source · [−]#[repr(u32)]
#[non_exhaustive]
pub enum membarrier_cmd {
MEMBARRIER_CMD_QUERY,
MEMBARRIER_CMD_GLOBAL,
MEMBARRIER_CMD_GLOBAL_EXPEDITED,
MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED,
MEMBARRIER_CMD_PRIVATE_EXPEDITED,
MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED,
MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE,
MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE,
MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ,
MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_RSEQ,
}
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.
MEMBARRIER_CMD_QUERY
MEMBARRIER_CMD_GLOBAL
MEMBARRIER_CMD_GLOBAL_EXPEDITED
MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED
MEMBARRIER_CMD_PRIVATE_EXPEDITED
MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED
MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE
MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE
MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ
MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_RSEQ
Implementations
sourceimpl membarrier_cmd
impl membarrier_cmd
pub const MEMBARRIER_CMD_SHARED: membarrier_cmd
Trait Implementations
sourceimpl Clone for membarrier_cmd
impl Clone for membarrier_cmd
sourcefn clone(&self) -> membarrier_cmd
fn clone(&self) -> membarrier_cmd
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for membarrier_cmd
impl Debug for membarrier_cmd
sourceimpl Hash for membarrier_cmd
impl Hash for membarrier_cmd
sourceimpl PartialEq<membarrier_cmd> for membarrier_cmd
impl PartialEq<membarrier_cmd> for membarrier_cmd
impl Copy for membarrier_cmd
impl Eq for membarrier_cmd
impl StructuralEq for membarrier_cmd
impl StructuralPartialEq for membarrier_cmd
Auto Trait Implementations
impl RefUnwindSafe for membarrier_cmd
impl Send for membarrier_cmd
impl Sync for membarrier_cmd
impl Unpin for membarrier_cmd
impl UnwindSafe for membarrier_cmd
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more