pub struct AsyncPooledConn { /* private fields */ }Expand description
A connection borrowed from the async pool
Implementations§
Source§impl AsyncPooledConn
impl AsyncPooledConn
Sourcepub async fn query(&self, sql: &str) -> Result<VoltTable, VoltError>
pub async fn query(&self, sql: &str) -> Result<VoltTable, VoltError>
Execute an ad-hoc SQL query
Sourcepub async fn list_procedures(&self) -> Result<VoltTable, VoltError>
pub async fn list_procedures(&self) -> Result<VoltTable, VoltError>
List all stored procedures
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AsyncPooledConn
impl !RefUnwindSafe for AsyncPooledConn
impl Send for AsyncPooledConn
impl Sync for AsyncPooledConn
impl Unpin for AsyncPooledConn
impl !UnwindSafe for AsyncPooledConn
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