Trait taos_query::AsyncFetchable
source · [−]pub trait AsyncFetchable: Sized + Send + Sync {
type Error: From<Error> + Send + Sync;
fn affected_rows(&self) -> i32;
fn precision(&self) -> Precision;
fn fields(&self) -> &[Field];
fn summary(&self) -> (usize, usize);
fn filed_names(&self) -> Vec<&str>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn num_of_fields(&self) -> usize { ... }
fn blocks(&mut self) -> AsyncBlocks<'_, Self> { ... }
fn rows(&mut self) -> AsyncRows<'_, Self> { ... }
fn to_records(&mut self) -> Result<Vec<Vec<Value>>, Self::Error> { ... }
fn deserialize<R>(&mut self) -> AsyncDeserialized<'_, Self, R>
where
R: DeserializeOwned,
{ ... }
}
Required Associated Types
Required Methods
fn affected_rows(&self) -> i32
fn precision(&self) -> Precision
fn fields(&self) -> &[Field]
fn summary(&self) -> (usize, usize)
Provided Methods
fn filed_names(&self) -> Vec<&str>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn num_of_fields(&self) -> usize
fn blocks(&mut self) -> AsyncBlocks<'_, Self>
fn rows(&mut self) -> AsyncRows<'_, Self>
sourcefn to_records(&mut self) -> Result<Vec<Vec<Value>>, Self::Error>
fn to_records(&mut self) -> Result<Vec<Vec<Value>>, Self::Error>
Records is a row-based 2-dimension matrix of values.