pub struct SqliteServiceClient { /* private fields */ }Implementations§
Source§impl SqliteServiceClient
impl SqliteServiceClient
pub fn instance_id(&self) -> InstanceId
pub fn for_instance(client: RpcClient, instance_id: InstanceId) -> Self
pub async fn resolve_named( client: RpcClient, name: impl Into<String>, ) -> Result<Self, RuntimeError>
pub async fn open( &self, request: &SqliteOpenRequest, ) -> Result<ResourceHandle, RuntimeError>
pub async fn close( &self, request: &ResourceHandle, ) -> Result<Empty, RuntimeError>
pub async fn execute_batch( &self, request: &SqliteStatementRequest, ) -> Result<Empty, RuntimeError>
pub async fn run( &self, request: &SqliteStatementRequest, ) -> Result<SqliteRunResult, RuntimeError>
pub async fn query_one( &self, request: &SqliteStatementRequest, ) -> Result<Option<SqliteRow>, RuntimeError>
pub async fn query_all( &self, request: &SqliteStatementRequest, ) -> Result<Vec<SqliteRow>, RuntimeError>
pub async fn transaction( &self, request: &SqliteTransactionRequest, ) -> Result<Empty, RuntimeError>
Trait Implementations§
Source§impl Clone for SqliteServiceClient
impl Clone for SqliteServiceClient
Source§fn clone(&self) -> SqliteServiceClient
fn clone(&self) -> SqliteServiceClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for SqliteServiceClient
impl !UnwindSafe for SqliteServiceClient
impl Freeze for SqliteServiceClient
impl Send for SqliteServiceClient
impl Sync for SqliteServiceClient
impl Unpin for SqliteServiceClient
impl UnsafeUnpin for SqliteServiceClient
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