pub struct Connection { /* fields omitted */ }
A Connection
is a wrapper around aTcpStream
and a read buffer
Create a new connection to a Skytable instance hosted on host
and running on port
This function will write a Query
to the stream and read the response from the
server. It will then determine if the returned response is complete or incomplete
or invalid and return an appropriate variant of Response
wrapped in IoResult
for any I/O errors that may occur
impl<T> Any for T where
T: 'static + ?Sized,
[src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.