Struct cargo::util::credential::adaptor::BasicProcessCredential
source · pub struct BasicProcessCredential {}
Trait Implementations§
source§impl Credential for BasicProcessCredential
impl Credential for BasicProcessCredential
source§fn perform(
&self,
registry: &RegistryInfo<'_>,
action: &Action<'_>,
args: &[&str]
) -> Result<CredentialResponse, Error>
fn perform( &self, registry: &RegistryInfo<'_>, action: &Action<'_>, args: &[&str] ) -> Result<CredentialResponse, Error>
Retrieves a token for the given registry.
Auto Trait Implementations§
impl RefUnwindSafe for BasicProcessCredential
impl Send for BasicProcessCredential
impl Sync for BasicProcessCredential
impl Unpin for BasicProcessCredential
impl UnwindSafe for BasicProcessCredential
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