pub fn remove_object<T: KernelObject>(&self, handle_value: HandleValue) -> ZxResult<Arc<T>> {
        let handle = self.remove_handle(handle_value)?;
        let object = handle
            .object
            .downcast_arc::<T>()
            .map_err(|_| ZxError::WRONG_TYPE)?;
        Ok(object)
    }
/// Remove a handle referring to a kernel object of the given type from the process.
Remove a handle referring to a kernel object of the given type from the process.
Remove a handle referring to a kernel object of the given type from the process .
pub fn remove_object<T: KernelObject>(&self, handle_value: HandleValue) -> ZxResult<Arc<T>> {
        let handle = self.remove_handle(handle_value)?;
        let object = handle
            .object
            .downcast_arc::<T>()
            .map_err(|_| ZxError::WRONG_TYPE)?;
        Ok(object)
    }
pub fn remove_object < T : KernelObject > ( & self , handle_value : HandleValue ) -> ZxResult < Arc < T > > { let handle = self . remove_handle ( handle_value ) ? ; let object = handle . object . downcast_arc :: < T > ( ) . map_err ( | _ | ZxError :: WRONG_TYPE ) ? ; Ok ( object ) }
Remove a handle referring to a kernel object of the given type from the process.
Remove a handle referring to a kernel object of the given type from the process .
&self
handle_value
HandleValue
&self
handle_value
HandleValue