fn destroy_internal(&self) -> ZxResult {
        let mut guard = self.inner.lock();
        let inner = guard.as_mut().ok_or(ZxError::BAD_STATE)?;
        for vmar in inner.children.drain(..) {
            vmar.destroy_internal()?;
        }
        for mapping in inner.mappings.drain(..) {
            drop(mapping);
        }
        *guard = None;
        Ok(())
    }
/// Destroy but do not remove self from parent.
Destroy but do not remove self from parent.
Destroy but do not remove self from parent .
fn destroy_internal(&self) -> ZxResult {
        let mut guard = self.inner.lock();
        let inner = guard.as_mut().ok_or(ZxError::BAD_STATE)?;
        for vmar in inner.children.drain(..) {
            vmar.destroy_internal()?;
        }
        for mapping in inner.mappings.drain(..) {
            drop(mapping);
        }
        *guard = None;
        Ok(())
    }
fn destroy_internal ( & self ) -> ZxResult { let mut guard = self . inner . lock ( ) ; let inner = guard . as_mut ( ) . ok_or ( ZxError :: BAD_STATE ) ? ; for vmar in inner . children . drain ( .. ) { vmar . destroy_internal ( ) ? ; } for mapping in inner . mappings . drain ( .. ) { drop ( mapping ) ; } * guard = None ; Ok ( ( ) ) }
Destroy but do not remove self from parent.
Destroy but do not remove self from parent .
&self
&self