pub struct UniFfiTraitVtablePersistence {
pub uniffi_free: extern "C" fn(handle: u64),
pub uniffi_clone: extern "C" fn(handle: u64) -> u64,
pub initialize: extern "C" fn(uniffi_handle: u64, uniffi_out_return: &mut <Result<Arc<ChangeSet>, PersistenceError> as LiftReturn<UniFfiTag>>::ReturnType, uniffi_out_call_status: &mut RustCallStatus),
pub persist: extern "C" fn(uniffi_handle: u64, changeset: <Arc<ChangeSet> as Lift<UniFfiTag>>::FfiType, uniffi_out_return: &mut <Result<(), PersistenceError> as LiftReturn<UniFfiTag>>::ReturnType, uniffi_out_call_status: &mut RustCallStatus),
}Fields§
§uniffi_free: extern "C" fn(handle: u64)§uniffi_clone: extern "C" fn(handle: u64) -> u64§initialize: extern "C" fn(uniffi_handle: u64, uniffi_out_return: &mut <Result<Arc<ChangeSet>, PersistenceError> as LiftReturn<UniFfiTag>>::ReturnType, uniffi_out_call_status: &mut RustCallStatus)§persist: extern "C" fn(uniffi_handle: u64, changeset: <Arc<ChangeSet> as Lift<UniFfiTag>>::FfiType, uniffi_out_return: &mut <Result<(), PersistenceError> as LiftReturn<UniFfiTag>>::ReturnType, uniffi_out_call_status: &mut RustCallStatus)Auto Trait Implementations§
impl Freeze for UniFfiTraitVtablePersistence
impl RefUnwindSafe for UniFfiTraitVtablePersistence
impl Send for UniFfiTraitVtablePersistence
impl Sync for UniFfiTraitVtablePersistence
impl Unpin for UniFfiTraitVtablePersistence
impl UnwindSafe for UniFfiTraitVtablePersistence
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, 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