pub fn as_registry(&self) -> Option<&RegistrySource> {
        match self {
            Self::Registry(src) => Some(src),
            _ => None,
        }
    }
/// Access the registry source, if present
Access the registry source, if present
Access the registry source if present
pub fn as_registry(&self) -> Option<&RegistrySource> {
        match self {
            Self::Registry(src) => Some(src),
            _ => None,
        }
    }
pub fn as_registry ( & self ) -> Option < & RegistrySource > { match self { Self :: Registry ( src ) => Some ( src ) , _ => None , } }
Access the registry source, if present
Access the registry source if present
&self
&self