Struct maelstrom_linux::Signal
source · pub struct Signal(/* private fields */);
Implementations§
source§impl Signal
impl Signal
pub const ALRM: Self = _
pub const CHLD: Self = _
pub const HUP: Self = _
pub const INT: Self = _
pub const IO: Self = _
pub const KILL: Self = _
pub const LOST: Self = _
pub const PIPE: Self = _
pub const POLL: Self = _
pub const PROF: Self = _
pub const PWR: Self = _
pub const QUIT: Self = _
pub const TERM: Self = _
pub const TSTP: Self = _
pub const TTIN: Self = _
pub const TTOU: Self = _
pub const USR1: Self = _
pub const USR2: Self = _
pub const VTALRM: Self = _
pub const WINCH: Self = _
pub fn as_u8(&self) -> u8
pub fn as_c_int(&self) -> c_int
Trait Implementations§
source§impl Ord for Signal
impl Ord for Signal
source§impl PartialEq for Signal
impl PartialEq for Signal
source§impl PartialOrd for Signal
impl PartialOrd for Signal
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Signal
impl Eq for Signal
impl StructuralPartialEq for Signal
Auto Trait Implementations§
impl Freeze for Signal
impl RefUnwindSafe for Signal
impl Send for Signal
impl Sync for Signal
impl Unpin for Signal
impl UnwindSafe for Signal
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)