/// Returns current state of the handle.
Returns current state of the handle.
Returns current state of the handle .
pub fn state(&self) -> State {
        let ptr = self.raw_proc.as_ptr();
        let pdata = ptr as *const ProcData;
        let raw_state = unsafe { (*pdata).state.load(Ordering::SeqCst) };
        State::new(raw_state)
    }
pub fn state ( & self ) -> State { let ptr = self . raw_proc . as_ptr ( ) ; let pdata = ptr as * const ProcData ; let raw_state = unsafe { ( * pdata ) . state . load ( Ordering :: SeqCst ) } ; State :: new ( raw_state ) }
Returns current state of the handle.
Returns current state of the handle .
&self