pub struct AndroidCredential { /* private fields */ }Implementations§
Trait Implementations§
Source§impl CredentialApi for AndroidCredential
impl CredentialApi for AndroidCredential
Source§fn set_password(&self, password: &str) -> Result<()>
fn set_password(&self, password: &str) -> Result<()>
Set the credential’s password (a string). Read more
Source§fn set_secret(&self, password: &[u8]) -> Result<()>
fn set_secret(&self, password: &[u8]) -> Result<()>
Set the credential’s secret (a byte array). Read more
Source§fn get_password(&self) -> Result<String>
fn get_password(&self) -> Result<String>
Retrieve the password (a string) from the underlying credential. Read more
Source§fn get_secret(&self) -> Result<Vec<u8>>
fn get_secret(&self) -> Result<Vec<u8>>
Retrieve a secret (a byte array) from the credential. Read more
Source§fn delete_credential(&self) -> Result<()>
fn delete_credential(&self) -> Result<()>
Delete the underlying credential, if there is one. Read more
Source§fn get_attributes(&self) -> Result<HashMap<String, String>, Error>
fn get_attributes(&self) -> Result<HashMap<String, String>, Error>
Get the secure store attributes on this entry’s credential. Read more
Source§impl HasJavaVm for AndroidCredential
impl HasJavaVm for AndroidCredential
fn java_vm(&self) -> &JavaVM
fn check_for_exception<T, F>(&self, f: F) -> Result<T, AndroidKeyringError>
Auto Trait Implementations§
impl Freeze for AndroidCredential
impl RefUnwindSafe for AndroidCredential
impl Send for AndroidCredential
impl Sync for AndroidCredential
impl Unpin for AndroidCredential
impl UnsafeUnpin for AndroidCredential
impl UnwindSafe for AndroidCredential
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