pub fn check_root_job(&self) -> ZxResult {
        if self.parent.is_some() {
            Err(ZxError::ACCESS_DENIED)
        } else {
            Ok(())
        }
    }
/// Check whether this job is root job.
Check whether this job is root job.
Check whether this job is root job .
pub fn check_root_job(&self) -> ZxResult {
        if self.parent.is_some() {
            Err(ZxError::ACCESS_DENIED)
        } else {
            Ok(())
        }
    }
pub fn check_root_job ( & self ) -> ZxResult { if self . parent . is_some ( ) { Err ( ZxError :: ACCESS_DENIED ) } else { Ok ( ( ) ) } }
Check whether this job is root job.
Check whether this job is root job .
&self
&self