[−][src]Struct typed_clickhouse::Inserter
Implementations
impl<T> Inserter<T> where
T: Reflection,
[src]
T: Reflection,
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]
&'a mut self,
row: &T
) -> impl Future<Output = Result<()>> + 'a + Send where
T: Serialize,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,