#[repr(C)]pub struct ncsubproc_options {
pub curry: *mut c_void,
pub restart_period: u64,
pub flags: u64,
}Fields§
§curry: *mut c_void§restart_period: u64restart this many seconds after an exit (watch)
flags: u64bitfield over NCOPTION_SUBPROC_*
Implementations§
Trait Implementations§
Source§impl Clone for ncsubproc_options
impl Clone for ncsubproc_options
Source§fn clone(&self) -> ncsubproc_options
fn clone(&self) -> ncsubproc_options
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ncsubproc_options
impl Debug for ncsubproc_options
Source§impl Default for ncsubproc_options
impl Default for ncsubproc_options
Source§impl Hash for ncsubproc_options
impl Hash for ncsubproc_options
Source§impl Ord for ncsubproc_options
impl Ord for ncsubproc_options
Source§fn cmp(&self, other: &ncsubproc_options) -> Ordering
fn cmp(&self, other: &ncsubproc_options) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ncsubproc_options
impl PartialEq for ncsubproc_options
Source§impl PartialOrd for ncsubproc_options
impl PartialOrd for ncsubproc_options
impl Copy for ncsubproc_options
impl Eq for ncsubproc_options
impl StructuralPartialEq for ncsubproc_options
Auto Trait Implementations§
impl Freeze for ncsubproc_options
impl RefUnwindSafe for ncsubproc_options
impl !Send for ncsubproc_options
impl !Sync for ncsubproc_options
impl Unpin for ncsubproc_options
impl UnwindSafe for ncsubproc_options
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