fn check_use_source(
        &self,
        route_source: &RouteSource<ComponentInstanceForAnalyzer>,
    ) -> Result<(), AnalyzerModelError> {
        match route_source {
            RouteSource::Directory(source, _) => self.check_directory_source(source),
            RouteSource::Event(_) => Ok(()),
            RouteSource::Protocol(source) => self.check_protocol_source(source),
            RouteSource::Service(source) => self.check_service_source(source),
            RouteSource::StorageBackingDirectory(source) => self.check_storage_source(source),
            _ => unimplemented![],
        }
    }
// Checks properties of a capability source that are necessary to use the capability
// and that are possible to verify statically.
Checks properties of a capability source that are necessary to use the capability
and that are possible to verify statically.
Checks properties of a capability source that are necessary to use the capability and that are possible to verify statically .
fn check_use_source(
        &self,
        route_source: &RouteSource<ComponentInstanceForAnalyzer>,
    ) -> Result<(), AnalyzerModelError> {
        match route_source {
            RouteSource::Directory(source, _) => self.check_directory_source(source),
            RouteSource::Event(_) => Ok(()),
            RouteSource::Protocol(source) => self.check_protocol_source(source),
            RouteSource::Service(source) => self.check_service_source(source),
            RouteSource::StorageBackingDirectory(source) => self.check_storage_source(source),
            _ => unimplemented![],
        }
    }
fn check_use_source ( & self , route_source : & RouteSource < ComponentInstanceForAnalyzer > , ) -> Result < ( ) , AnalyzerModelError > { match route_source { RouteSource :: Directory ( source , _ ) => self . check_directory_source ( source ) , RouteSource :: Event ( _ ) => Ok ( ( ) ) , RouteSource :: Protocol ( source ) => self . check_protocol_source ( source ) , RouteSource :: Service ( source ) => self . check_service_source ( source ) , RouteSource :: StorageBackingDirectory ( source ) => self . check_storage_source ( source ) , _ => unimplemented ! [ ] , } }
Checks properties of a capability source that are necessary to use the capability
and that are possible to verify statically.
Checks properties of a capability source that are necessary to use the capability and that are possible to verify statically .
&self
route_source
&RouteSource<ComponentInstanceForAnalyzer>
&self
route_source
&RouteSource<ComponentInstanceForAnalyzer>