fn check_directory_source(
        &self,
        source: &CapabilitySourceInterface<ComponentInstanceForAnalyzer>,
    ) -> Result<(), AnalyzerModelError> {
        match source {
            CapabilitySourceInterface::Component { component: weak, .. } => {
                self.check_executable(&weak.upgrade()?)
            }
            CapabilitySourceInterface::Namespace { .. } => Ok(()),
            CapabilitySourceInterface::Builtin { .. } => Ok(()),
            CapabilitySourceInterface::Framework { .. } => Ok(()),
            _ => unimplemented![],
        }
    }
// If the source of a directory capability is a component instance, checks that that
// instance is executable.
If the source of a directory capability is a component instance, checks that that
instance is executable.
If the source of a directory capability is a component instance checks that that instance is executable .
fn check_directory_source(
        &self,
        source: &CapabilitySourceInterface<ComponentInstanceForAnalyzer>,
    ) -> Result<(), AnalyzerModelError> {
        match source {
            CapabilitySourceInterface::Component { component: weak, .. } => {
                self.check_executable(&weak.upgrade()?)
            }
            CapabilitySourceInterface::Namespace { .. } => Ok(()),
            CapabilitySourceInterface::Builtin { .. } => Ok(()),
            CapabilitySourceInterface::Framework { .. } => Ok(()),
            _ => unimplemented![],
        }
    }
fn check_directory_source ( & self , source : & CapabilitySourceInterface < ComponentInstanceForAnalyzer > , ) -> Result < ( ) , AnalyzerModelError > { match source { CapabilitySourceInterface :: Component { component : weak , .. } => { self . check_executable ( & weak . upgrade ( ) ? ) } CapabilitySourceInterface :: Namespace { .. } => Ok ( ( ) ) , CapabilitySourceInterface :: Builtin { .. } => Ok ( ( ) ) , CapabilitySourceInterface :: Framework { .. } => Ok ( ( ) ) , _ => unimplemented ! [ ] , } }
If the source of a directory capability is a component instance, checks that that
instance is executable.
If the source of a directory capability is a component instance checks that that instance is executable .
&self
source
&CapabilitySourceInterface<ComponentInstanceForAnalyzer>
&self
source
&CapabilitySourceInterface<ComponentInstanceForAnalyzer>