pub struct GlabProvider;Expand description
Provider for GitLab CLI credentials (~/.config/glab-cli/).
Trait Implementations§
Source§impl AuthProvider for GlabProvider
impl AuthProvider for GlabProvider
Source§fn display_name(&self) -> &str
fn display_name(&self) -> &str
Human-readable display name.
Source§fn credential_files(&self) -> Vec<CredentialFile>
fn credential_files(&self) -> Vec<CredentialFile>
List of credential files/directories this provider manages.
Source§fn validate<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ValidationResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn validate<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ValidationResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Validate whether the current local credentials are still valid.
Defaults to
ValidationResult::Unknown.Source§impl Clone for GlabProvider
impl Clone for GlabProvider
Source§fn clone(&self) -> GlabProvider
fn clone(&self) -> GlabProvider
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GlabProvider
impl Debug for GlabProvider
Source§impl Default for GlabProvider
impl Default for GlabProvider
Source§fn default() -> GlabProvider
fn default() -> GlabProvider
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GlabProvider
impl RefUnwindSafe for GlabProvider
impl Send for GlabProvider
impl Sync for GlabProvider
impl Unpin for GlabProvider
impl UnsafeUnpin for GlabProvider
impl UnwindSafe for GlabProvider
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