Skip to main content

IntoBoxedCloneClause

Trait IntoBoxedCloneClause 

Source
pub trait IntoBoxedCloneClause<'a, DB> {
    type BoxedCloneClause;

    // Required method
    fn into_boxed_clone(self) -> Self::BoxedCloneClause;
}
Expand description

A trait used to construct type erased boxed cloneable variant of the current query node

Mainly useful for implementing third party backends

Required Associated Types§

Source

type BoxedCloneClause

Resulting type

Required Methods§

Source

fn into_boxed_clone(self) -> Self::BoxedCloneClause

Convert the given query node in it’s boxed cloneable representation

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'a, DB: MysqlLikeBackend, L, O> IntoBoxedCloneClause<'a, DB> for LimitOffsetClause<LimitClause<L>, OffsetClause<O>>
where L: QueryFragment<DB> + Send + Sync + 'a, O: QueryFragment<DB> + Send + Sync + 'a,

Available on crate features mariadb_backend or mysql_backend only.
Source§

impl<'a, DB: MysqlLikeBackend, L> IntoBoxedCloneClause<'a, DB> for LimitOffsetClause<LimitClause<L>, NoOffsetClause>
where L: QueryFragment<DB> + Send + Sync + 'a,

Available on crate features mariadb_backend or mysql_backend only.
Source§

impl<'a, DB: MysqlLikeBackend> IntoBoxedCloneClause<'a, DB> for LimitOffsetClause<NoLimitClause, NoOffsetClause>

Available on crate features mariadb_backend or mysql_backend only.
Source§

impl<'a, L, O> IntoBoxedCloneClause<'a, Pg> for LimitOffsetClause<L, O>
where L: QueryFragment<Pg> + Send + Sync + 'a, O: QueryFragment<Pg> + Send + Sync + 'a,

Available on crate feature postgres_backend only.
Source§

impl<'a, L, O> IntoBoxedCloneClause<'a, Sqlite> for LimitOffsetClause<LimitClause<L>, OffsetClause<O>>
where L: QueryFragment<Sqlite> + Send + Sync + 'a, O: QueryFragment<Sqlite> + Send + Sync + 'a,

Available on crate feature __sqlite-shared only.
Source§

impl<'a, L> IntoBoxedCloneClause<'a, Sqlite> for LimitOffsetClause<LimitClause<L>, NoOffsetClause>
where L: QueryFragment<Sqlite> + Send + Sync + 'a,

Available on crate feature __sqlite-shared only.
Source§

impl<'a, O> IntoBoxedCloneClause<'a, Sqlite> for LimitOffsetClause<NoLimitClause, OffsetClause<O>>
where O: QueryFragment<Sqlite> + Send + Sync + 'a,

Available on crate feature __sqlite-shared only.
Source§

impl<'a> IntoBoxedCloneClause<'a, Sqlite> for LimitOffsetClause<NoLimitClause, NoOffsetClause>

Available on crate feature __sqlite-shared only.