#[repr(u8)]pub enum PreemptionSpecifier {
DsoPreemptable = 0,
DsoLocal = 1,
}Expand description
GlobalValue::PreemptionSpecifier
Variants§
DsoPreemptable = 0
The global may be replaced by a different definition at link time (interposable)
DsoLocal = 1
The global’s definition is local to the DSO and cannot be replaced at link time
Trait Implementations§
Source§impl Clone for PreemptionSpecifier
impl Clone for PreemptionSpecifier
Source§fn clone(&self) -> PreemptionSpecifier
fn clone(&self) -> PreemptionSpecifier
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreemptionSpecifier
impl Debug for PreemptionSpecifier
Source§impl Default for PreemptionSpecifier
impl Default for PreemptionSpecifier
Source§fn default() -> PreemptionSpecifier
fn default() -> PreemptionSpecifier
Returns the “default value” for a type. Read more
Source§impl PartialEq for PreemptionSpecifier
impl PartialEq for PreemptionSpecifier
Source§impl TryFrom<u8> for PreemptionSpecifier
impl TryFrom<u8> for PreemptionSpecifier
Source§type Error = TryFromPrimitiveError<PreemptionSpecifier>
type Error = TryFromPrimitiveError<PreemptionSpecifier>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for PreemptionSpecifier
impl TryFromPrimitive for PreemptionSpecifier
const NAME: &'static str = "PreemptionSpecifier"
type Primitive = u8
type Error = TryFromPrimitiveError<PreemptionSpecifier>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for PreemptionSpecifier
impl Eq for PreemptionSpecifier
impl StructuralPartialEq for PreemptionSpecifier
Auto Trait Implementations§
impl Freeze for PreemptionSpecifier
impl RefUnwindSafe for PreemptionSpecifier
impl Send for PreemptionSpecifier
impl Sync for PreemptionSpecifier
impl Unpin for PreemptionSpecifier
impl UnsafeUnpin for PreemptionSpecifier
impl UnwindSafe for PreemptionSpecifier
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