pub struct AndroidBuilder { /* private fields */ }
Implementations§
Source§impl AndroidBuilder
impl AndroidBuilder
Sourcepub fn from_ndk_context() -> Result<Self, AndroidKeyringError>
pub fn from_ndk_context() -> Result<Self, AndroidKeyringError>
Initializes AndroidBuilder using the JNI context available
on the ndk-context
crate.
pub fn new( env: &JNIEnv<'_>, context: Context, ) -> Result<Self, AndroidKeyringError>
Trait Implementations§
Source§impl CredentialBuilderApi for AndroidBuilder
impl CredentialBuilderApi for AndroidBuilder
Source§impl HasJavaVm for AndroidBuilder
impl HasJavaVm for AndroidBuilder
fn java_vm(&self) -> &JavaVM
fn check_for_exception<T, F>(&self, f: F) -> Result<T, AndroidKeyringError>
Auto Trait Implementations§
impl Freeze for AndroidBuilder
impl RefUnwindSafe for AndroidBuilder
impl Send for AndroidBuilder
impl Sync for AndroidBuilder
impl Unpin for AndroidBuilder
impl UnwindSafe for AndroidBuilder
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