/// Human readable description of this capability type.
Human readable description of this capability type.
Human readable description of this capability type .
pub fn type_str(&self) -> &'static str {
        match self {
            CapabilityId::Service(_) => "service",
            CapabilityId::Protocol(_) => "protocol",
            CapabilityId::Directory(_) => "directory",
            CapabilityId::UsedService(_) => "service",
            CapabilityId::UsedProtocol(_) => "protocol",
            CapabilityId::UsedDirectory(_) => "directory",
            CapabilityId::UsedStorage(_) => "storage",
            CapabilityId::Storage(_) => "storage",
            CapabilityId::Runner(_) => "runner",
            CapabilityId::Resolver(_) => "resolver",
            CapabilityId::Event(_) => "event",
            CapabilityId::EventStreamDeprecated(_) => "event_stream_deprecated",
            CapabilityId::EventStream(_) => "event_stream",
        }
    }
pub fn type_str ( & self ) -> & ' static str { match self { CapabilityId :: Service ( _ ) => " " , CapabilityId :: Protocol ( _ ) => " " , CapabilityId :: Directory ( _ ) => " " , CapabilityId :: UsedService ( _ ) => " " , CapabilityId :: UsedProtocol ( _ ) => " " , CapabilityId :: UsedDirectory ( _ ) => " " , CapabilityId :: UsedStorage ( _ ) => " " , CapabilityId :: Storage ( _ ) => " " , CapabilityId :: Runner ( _ ) => " " , CapabilityId :: Resolver ( _ ) => " " , CapabilityId :: Event ( _ ) => " " , CapabilityId :: EventStreamDeprecated ( _ ) => " " , CapabilityId :: EventStream ( _ ) => " " , } }
Human readable description of this capability type.
Human readable description of this capability type .
&self