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 from_c_int(signo: c_int) -> Self
pub fn from_u8(signo: u8) -> 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 PartialOrd for Signal
impl PartialOrd for Signal
impl 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