Struct linux_unsafe::sigset_t
source · #[repr(C)]pub struct sigset_t { /* private fields */ }Expand description
A set of signals for use with signal blocking functions.
Implementations§
source§impl sigset_t
impl sigset_t
pub const fn new_empty() -> Self
pub const fn new_filled() -> Self
pub fn sigemptyset(&mut self)
pub fn sigfillset(&mut self)
pub fn sigaddset(&mut self, signum: int) -> Result<()>
pub fn sigdelset(&mut self, signum: int) -> Result<()>
pub fn sigismember(&mut self, signum: int) -> Result<bool>
pub fn as_ptr(&self) -> *const Self
pub fn as_mut_ptr(&mut self) -> *mut Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for sigset_t
impl RefUnwindSafe for sigset_t
impl Send for sigset_t
impl Sync for sigset_t
impl Unpin for sigset_t
impl UnwindSafe for sigset_t
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§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)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)