pub struct StorageHandle {
pub store: Arc<dyn CredentialStore>,
}Expand description
Keeps storage callbacks in the native library that owns their converters.
Fields§
§store: Arc<dyn CredentialStore>Trait Implementations§
Source§impl<UT> LiftRef<UT> for StorageHandle
impl<UT> LiftRef<UT> for StorageHandle
type LiftType = Arc<StorageHandle>
Source§impl<UT> LowerError<UT> for StorageHandle
impl<UT> LowerError<UT> for StorageHandle
Source§fn lower_error(obj: Self) -> RustBuffer
fn lower_error(obj: Self) -> RustBuffer
Lower this value for scaffolding function return Read more
Source§impl<UT> LowerReturn<UT> for StorageHandle
impl<UT> LowerReturn<UT> for StorageHandle
Source§type ReturnType = <Arc<StorageHandle> as LowerReturn<UniFfiTag>>::ReturnType
type ReturnType = <Arc<StorageHandle> as LowerReturn<UniFfiTag>>::ReturnType
The type that should be returned by scaffolding functions for this type. Read more
Source§fn lower_return(obj: Self) -> Result<Self::ReturnType, RustCallError>
fn lower_return(obj: Self) -> Result<Self::ReturnType, RustCallError>
Lower the return value from an scaffolding call Read more
Source§fn handle_failed_lift(
error: LiftArgsError,
) -> Result<Self::ReturnType, RustCallError>
fn handle_failed_lift( error: LiftArgsError, ) -> Result<Self::ReturnType, RustCallError>
Lower the return value for failed argument lifts Read more
Source§impl<UT> TypeId<UT> for StorageHandle
impl<UT> TypeId<UT> for StorageHandle
Auto Trait Implementations§
impl !RefUnwindSafe for StorageHandle
impl !UnwindSafe for StorageHandle
impl Freeze for StorageHandle
impl Send for StorageHandle
impl Sync for StorageHandle
impl Unpin for StorageHandle
impl UnsafeUnpin for StorageHandle
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