Enum cargo_edit::AnyIndex
source · pub enum AnyIndex {
Local(LocalIndex),
Remote(RemoteIndex),
}
Variants§
Local(LocalIndex)
Remote(RemoteIndex)
Implementations§
source§impl AnyIndex
impl AnyIndex
pub fn open(url: &Url, certs_source: CertsSource) -> CargoResult<Self>
Auto Trait Implementations§
impl Freeze for AnyIndex
impl !RefUnwindSafe for AnyIndex
impl Send for AnyIndex
impl Sync for AnyIndex
impl Unpin for AnyIndex
impl !UnwindSafe for AnyIndex
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