pub struct CredentialSocketClient { /* private fields */ }Implementations§
Source§impl CredentialSocketClient
impl CredentialSocketClient
pub fn new(socket_path: PathBuf) -> Self
pub fn get_credential_blocking( &self, provider: &str, ) -> Result<CredentialResponse, CredentialSocketError>
Sourcepub async fn get_credential(
&self,
provider: &str,
) -> Result<CredentialResponse, CredentialSocketError>
pub async fn get_credential( &self, provider: &str, ) -> Result<CredentialResponse, CredentialSocketError>
Fetch credential for a provider from the Loopflow-hosted Unix socket.
pub async fn start_auth( &self, provider: &str, ) -> Result<AuthStartResponse, CredentialSocketError>
pub async fn disconnect( &self, provider: &str, ) -> Result<(), CredentialSocketError>
Trait Implementations§
Source§impl Clone for CredentialSocketClient
impl Clone for CredentialSocketClient
Source§fn clone(&self) -> CredentialSocketClient
fn clone(&self) -> CredentialSocketClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CredentialSocketClient
impl RefUnwindSafe for CredentialSocketClient
impl Send for CredentialSocketClient
impl Sync for CredentialSocketClient
impl Unpin for CredentialSocketClient
impl UnsafeUnpin for CredentialSocketClient
impl UnwindSafe for CredentialSocketClient
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