pub struct NugetRegistry {
pub index: HashMap<String, Url>,
/* private fields */
}
Fields§
§index: HashMap<String, Url>
Implementations§
Source§impl NugetRegistry
impl NugetRegistry
pub async fn connect(index_url: Url) -> Result<Self>
pub async fn get_package_version( &self, package_name: &str, ) -> Result<Option<PackageBaseAddressResponse>>
pub async fn get_package_registrations<'a>( &'a self, package_name: &str, ) -> Result<impl Stream<Item = Result<RegistrationLeaf>> + Send + Unpin + 'a>
Auto Trait Implementations§
impl Freeze for NugetRegistry
impl !RefUnwindSafe for NugetRegistry
impl Send for NugetRegistry
impl Sync for NugetRegistry
impl Unpin for NugetRegistry
impl !UnwindSafe for NugetRegistry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more