Enum linux_api::signal::SigInfoCodeBus
source · #[repr(i32)]pub enum SigInfoCodeBus {
BUS_ADRALN = 1,
BUS_ADRERR = 2,
BUS_OBJERR = 3,
BUS_MCEERR_AR = 4,
BUS_MCEERR_AO = 5,
}
Expand description
Codes for SIGBUS
Variants§
Trait Implementations§
source§impl Clone for SigInfoCodeBus
impl Clone for SigInfoCodeBus
source§fn clone(&self) -> SigInfoCodeBus
fn clone(&self) -> SigInfoCodeBus
Returns a copy 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 SigInfoCodeBus
impl Debug for SigInfoCodeBus
source§impl From<SigInfoCodeBus> for i32
impl From<SigInfoCodeBus> for i32
source§fn from(enum_value: SigInfoCodeBus) -> Self
fn from(enum_value: SigInfoCodeBus) -> Self
Converts to this type from the input type.
source§impl PartialEq for SigInfoCodeBus
impl PartialEq for SigInfoCodeBus
source§impl TryFrom<i32> for SigInfoCodeBus
impl TryFrom<i32> for SigInfoCodeBus
source§type Error = TryFromPrimitiveError<SigInfoCodeBus>
type Error = TryFromPrimitiveError<SigInfoCodeBus>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for SigInfoCodeBus
impl TryFromPrimitive for SigInfoCodeBus
type Primitive = i32
type Error = TryFromPrimitiveError<SigInfoCodeBus>
const NAME: &'static str = "SigInfoCodeBus"
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for SigInfoCodeBus
impl Eq for SigInfoCodeBus
impl StructuralPartialEq for SigInfoCodeBus
Auto Trait Implementations§
impl Freeze for SigInfoCodeBus
impl RefUnwindSafe for SigInfoCodeBus
impl Send for SigInfoCodeBus
impl Sync for SigInfoCodeBus
impl Unpin for SigInfoCodeBus
impl UnwindSafe for SigInfoCodeBus
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)