Crate taos_query
source ·Expand description
This is the common query traits/types for TDengine connectors.
Re-exports§
pub use common::RawBlock;
pub use prelude::sync::Fetchable;
pub use prelude::sync::Queryable;
pub use prelude::AsyncFetchable;
pub use prelude::AsyncQueryable;
Modules§
Structs§
- A simple struct to represent a server address, with host:port or socket path.
- A minimal representation of all possible errors that can occur using the
IntoDeserializer
trait. - A DSN(Data Source Name) parser.
- This is how we manage connections.
- The
Error
type, a wrapper around raw libtaos.so client errors or dynamic error types that could be integrated into anyhow::Error.
Enums§
- Error caused by pest DSN parser.
Traits§
- A struct is
Connectable
when it can be build from aDsn
. - Trait to define a data
Block
to fetch records bulky. - A struct is
Connectable
when it can be build from aDsn
.