Struct rustwide::AlternativeRegistry
source · pub struct AlternativeRegistry { /* private fields */ }
Expand description
A type for alternative registry as described in rust-lang/rfcs#2141
Implementations§
source§impl AlternativeRegistry
impl AlternativeRegistry
sourcepub fn new(registry_index: impl Into<String>) -> AlternativeRegistry
pub fn new(registry_index: impl Into<String>) -> AlternativeRegistry
Registry for specified registry index
sourcepub fn authenticate_with_ssh_key(&mut self, key: impl Into<String>)
pub fn authenticate_with_ssh_key(&mut self, key: impl Into<String>)
Specify private ssh key for registry authentication.
Auto Trait Implementations§
impl RefUnwindSafe for AlternativeRegistry
impl Send for AlternativeRegistry
impl Sync for AlternativeRegistry
impl Unpin for AlternativeRegistry
impl UnwindSafe for AlternativeRegistry
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