#[repr(C)]pub struct UContextT {
pub uc_flags: c_ulong,
pub uc_link: *mut UContextT,
pub uc_stack: SignalStack,
pub uc_sigmask: u64,
pub uc_mcontext: MContextT,
}Expand description
用户态信号处理上下文结构体 该结构体包含恢复进程执行所需的所有状态。
Fields§
§uc_flags: c_ulong标志位
uc_link: *mut UContextT链接到下一个上下文
uc_stack: SignalStack信号栈信息
uc_sigmask: u64信号掩码
uc_mcontext: MContextT机器上下文
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UContextT
impl RefUnwindSafe for UContextT
impl !Send for UContextT
impl !Sync for UContextT
impl Unpin for UContextT
impl UnwindSafe for UContextT
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)