struct UniffiTraitBridge<T>(T);
Tuple Fields§
§0: T
Trait Implementations§
Source§impl Fido2CredentialStore for UniffiTraitBridge<&dyn Fido2CredentialStore>
impl Fido2CredentialStore for UniffiTraitBridge<&dyn Fido2CredentialStore>
fn find_credentials<'life0, 'async_trait>(
&'life0 self,
ids: Option<Vec<Vec<u8>>>,
rip_id: String,
) -> Pin<Box<dyn Future<Output = Result<Vec<CipherView>, BitFido2CallbackError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn all_credentials<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<CipherView>, BitFido2CallbackError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn save_credential<'life0, 'async_trait>(
&'life0 self,
cred: Cipher,
) -> Pin<Box<dyn Future<Output = Result<(), BitFido2CallbackError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Fido2UserInterface for UniffiTraitBridge<&dyn Fido2UserInterface>
impl Fido2UserInterface for UniffiTraitBridge<&dyn Fido2UserInterface>
fn check_user<'a, 'life0, 'async_trait>(
&'life0 self,
options: CheckUserOptions,
hint: UIHint<'a, CipherView>,
) -> Pin<Box<dyn Future<Output = Result<CheckUserResult, BitFido2CallbackError>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn pick_credential_for_authentication<'life0, 'async_trait>(
&'life0 self,
available_credentials: Vec<CipherView>,
) -> Pin<Box<dyn Future<Output = Result<CipherView, BitFido2CallbackError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn check_user_and_pick_credential_for_creation<'life0, 'async_trait>(
&'life0 self,
options: CheckUserOptions,
new_credential: Fido2CredentialNewView,
) -> Pin<Box<dyn Future<Output = Result<(CipherView, CheckUserResult), BitFido2CallbackError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn is_verification_enabled<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<T> Freeze for UniffiTraitBridge<T>where
T: Freeze,
impl<T> RefUnwindSafe for UniffiTraitBridge<T>where
T: RefUnwindSafe,
impl<T> Send for UniffiTraitBridge<T>where
T: Send,
impl<T> Sync for UniffiTraitBridge<T>where
T: Sync,
impl<T> Unpin for UniffiTraitBridge<T>where
T: Unpin,
impl<T> UnwindSafe for UniffiTraitBridge<T>where
T: UnwindSafe,
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more