Expand description
Every extension trait that puts a terminal method on a builder, plus the
error type a caller’s own signatures have to name and the DecodeRow
bound a generic helper over RowQuery has to spell. Result is
deliberately absent: a glob-imported alias of that name shadows
std::result::Result in every module that follows, and a service layer
has its own error type in most of them. Write qbrs_sqlx::Result<T>
where the alias is wanted. Which trait applies depends on the builder,
so importing them one at a time is bookkeeping with no decision in it.
count in particular resolves against Iterator::count with a
confusing message until CountExt is in scope.
Re-exports§
pub use crate::Error;pub use crate::CountExt;pub use crate::CountQuery;pub use crate::DecodeRow;pub use crate::ExecuteExt;pub use crate::LoadExt;pub use crate::PreparedCountExt;pub use crate::PreparedExt;pub use crate::PreparedQuery;pub use crate::PreparedTotal;pub use crate::RowQuery;pub use crate::WriteStatement;
Traits§
- Stream
- Re-exported so a caller can name what
LoadExt::streamreturns and consume it (StreamExt::nextis how a stream is read) without taking afuturesdependency of their own. A stream of values produced asynchronously. - Stream
Ext - Re-exported so a caller can name what
LoadExt::streamreturns and consume it (StreamExt::nextis how a stream is read) without taking afuturesdependency of their own. An extension trait forStreams that provides a variety of convenient combinator functions.