Struct ucontext_t

#[repr(C)]
pub struct ucontext_t { pub uc_flags: c_ulong, pub uc_link: *mut ucontext_t, pub uc_stack: stack_t, pub uc_mcontext: mcontext_t, pub uc_sigmask: sigset_t, /* private fields */ }

Fields

uc_flags: c_ulong
uc_link: *mut ucontext_t
uc_stack: stack_t
uc_mcontext: mcontext_t
uc_sigmask: sigset_t

Trait Implementations

impl Clone for ucontext_t

fn clone(&self) -> ucontext_t

impl Copy for ucontext_t

impl Debug for ucontext_t

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for ucontext_t

impl Hash for ucontext_t

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for ucontext_t

fn eq(&self, other: &ucontext_t) -> bool

impl StructuralPartialEq for ucontext_t

Auto Trait Implementations

impl !Send for ucontext_t

impl !Sync for ucontext_t

impl Freeze for ucontext_t

impl RefUnwindSafe for ucontext_t

impl Unpin for ucontext_t

impl UnsafeUnpin for ucontext_t

impl UnwindSafe for ucontext_t

Blanket Implementations

impl<T> Any for ucontext_t where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for ucontext_t where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for ucontext_t where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for ucontext_t where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for ucontext_t

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for ucontext_t where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for ucontext_t where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for ucontext_t where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>