pub struct PowerSync<R: Runtime> { /* private fields */ }Implementations§
Source§impl<R: Runtime> PowerSync<R>
impl<R: Runtime> PowerSync<R>
Sourcepub fn database_from_javascript_handle(
&self,
handle: usize,
) -> Result<PowerSyncDatabase>
pub fn database_from_javascript_handle( &self, handle: usize, ) -> Result<PowerSyncDatabase>
Resolves a PowerSyncDatabase from the handle obtained from
PowerSyncTauriDatabase.rustHandle in JavaScript.
Auto Trait Implementations§
impl<R> !Freeze for PowerSync<R>
impl<R> !RefUnwindSafe for PowerSync<R>
impl<R> Send for PowerSync<R>
impl<R> Sync for PowerSync<R>
impl<R> Unpin for PowerSync<R>
impl<R> UnsafeUnpin for PowerSync<R>
impl<R> !UnwindSafe for PowerSync<R>
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