pub struct AndroidCredential { /* private fields */ }Implementations§
Trait Implementations§
Source§impl CredentialApi for AndroidCredential
impl CredentialApi for AndroidCredential
Source§fn set_secret(&self, secret: &[u8]) -> Result<()>
fn set_secret(&self, secret: &[u8]) -> Result<()>
Set the underlying credential’s protected data to be the given byte array. Read more
Source§fn get_secret(&self) -> Result<Vec<u8>>
fn get_secret(&self) -> Result<Vec<u8>>
Retrieve the protected data as a byte array from the underlying credential. Read more
Source§fn get_credential(&self) -> Result<Option<Arc<Credential>>>
fn get_credential(&self) -> Result<Option<Arc<Credential>>>
Return a wrapper for the underlying credential. Read more
Source§fn get_specifiers(&self) -> Option<(String, String)>
fn get_specifiers(&self) -> Option<(String, String)>
Return the
<service, user> pair for this credential, if any.Source§fn set_password(&self, password: &str) -> Result<(), Error>
fn set_password(&self, password: &str) -> Result<(), Error>
Set the entry’s protected data to be the given string. Read more
Source§fn get_password(&self) -> Result<String, Error>
fn get_password(&self) -> Result<String, Error>
Retrieve the protected data as a UTF-8 string from the underlying credential. Read more
Source§fn get_attributes(&self) -> Result<HashMap<String, String>, Error>
fn get_attributes(&self) -> Result<HashMap<String, String>, Error>
Return any store-specific decorations 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 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