pub struct SqliteFactorData(/* private fields */);Trait Implementations§
Source§impl HasData for SqliteFactorData
impl HasData for SqliteFactorData
Source§impl HostConnectionWithStore for SqliteFactorData
impl HostConnectionWithStore for SqliteFactorData
Source§async fn open_async<T>(
accessor: &Accessor<T, Self>,
database: String,
) -> Result<Resource<Connection>, Error>
async fn open_async<T>( accessor: &Accessor<T, Self>, database: String, ) -> Result<Resource<Connection>, Error>
Open a connection to a named database instance. Read more
Source§async fn execute_async<T>(
accessor: &Accessor<T, Self>,
connection: Resource<Connection>,
query: String,
parameters: Vec<Value>,
) -> Result<(Vec<String>, StreamReader<RowResult>, FutureReader<Result<(), Error>>), Error>
async fn execute_async<T>( accessor: &Accessor<T, Self>, connection: Resource<Connection>, query: String, parameters: Vec<Value>, ) -> Result<(Vec<String>, StreamReader<RowResult>, FutureReader<Result<(), Error>>), Error>
Execute a statement returning back data if there is any
Auto Trait Implementations§
impl Freeze for SqliteFactorData
impl RefUnwindSafe for SqliteFactorData
impl Send for SqliteFactorData
impl Sync for SqliteFactorData
impl Unpin for SqliteFactorData
impl UnsafeUnpin for SqliteFactorData
impl UnwindSafe for SqliteFactorData
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
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request