Struct skytable::ConnectionTlsAsync
source · pub struct ConnectionTlsAsync(/* private fields */);
Expand description
An async skyhash/TLS
connection
Specification
- Protocol version:
Skyhash/2.0
- Query mode:
QTDEX-1A/BQL-S1
- Authentication plugin:
pwd
Methods from Deref<Target = TcpConnection<TlsStream<TcpStream>>>§
sourcepub async fn execute_pipeline(
&mut self,
pipeline: &Pipeline
) -> ClientResult<Vec<Response>>
pub async fn execute_pipeline( &mut self, pipeline: &Pipeline ) -> ClientResult<Vec<Response>>
Execute a pipeline. The server returns the queries in the order they were sent (unless otherwise set).
sourcepub async fn query(&mut self, q: &Query) -> ClientResult<Response>
pub async fn query(&mut self, q: &Query) -> ClientResult<Response>
Run a query and return a raw Response
sourcepub async fn query_parse<T: FromResponse>(
&mut self,
q: &Query
) -> ClientResult<T>
pub async fn query_parse<T: FromResponse>( &mut self, q: &Query ) -> ClientResult<T>
Run and parse a query into the indicated type. The type must implement FromResponse
sourcepub fn reset_buffer(&mut self)
pub fn reset_buffer(&mut self)
Call this if the internally allocated buffer is growing too large and impacting your performance. However, normally you will not need to call this
Trait Implementations§
source§impl Debug for ConnectionTlsAsync
impl Debug for ConnectionTlsAsync
source§impl Deref for ConnectionTlsAsync
impl Deref for ConnectionTlsAsync
Auto Trait Implementations§
impl Freeze for ConnectionTlsAsync
impl RefUnwindSafe for ConnectionTlsAsync
impl Send for ConnectionTlsAsync
impl Sync for ConnectionTlsAsync
impl Unpin for ConnectionTlsAsync
impl UnwindSafe for ConnectionTlsAsync
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