[][src]Struct typed_clickhouse::Inserter

pub struct Inserter<T> { /* fields omitted */ }

Implementations

impl<T> Inserter<T> where
    T: Reflection
[src]

pub fn new(client: &Client, table: &str) -> Result<Self>[src]

pub fn with_max_entries(self, threshold: u64) -> Self[src]

pub fn with_max_duration(self, threshold: Duration) -> Self[src]

pub fn set_max_entries(&mut self, threshold: u64)[src]

pub fn set_max_duration(&mut self, threshold: Duration)[src]

pub fn write<'a>(
    &'a mut self,
    row: &T
) -> impl Future<Output = Result<()>> + 'a + Send where
    T: Serialize
[src]

pub async fn commit<'_>(&'_ mut self) -> Result<Quantities>[src]

pub async fn end(self) -> Result<Quantities>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for Inserter<T>

impl<T> Send for Inserter<T>

impl<T> Sync for Inserter<T>

impl<T> Unpin for Inserter<T>

impl<T> !UnwindSafe for Inserter<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.