[][src]Struct terminus_store::structure::logarray::LogArrayFileBuilder

pub struct LogArrayFileBuilder<W: AsyncWrite> { /* fields omitted */ }

write a logarray directly to an AsyncWrite

Implementations

impl<W: AsyncWrite> LogArrayFileBuilder<W>[src]

pub fn new(w: W, width: u8) -> LogArrayFileBuilder<W>[src]

pub fn count(&self) -> u32[src]

pub fn push(
    self,
    val: u64
) -> impl Future<Item = LogArrayFileBuilder<W>, Error = Error>
[src]

pub fn push_all<S: Stream<Item = u64, Error = Error>>(
    self,
    vals: S
) -> impl Future<Item = LogArrayFileBuilder<W>, Error = Error>
[src]

pub fn finalize(self) -> impl Future<Item = W, Error = Error>[src]

Auto Trait Implementations

impl<W> RefUnwindSafe for LogArrayFileBuilder<W> where
    W: RefUnwindSafe

impl<W> Send for LogArrayFileBuilder<W> where
    W: Send

impl<W> Sync for LogArrayFileBuilder<W> where
    W: Sync

impl<W> Unpin for LogArrayFileBuilder<W> where
    W: Unpin

impl<W> UnwindSafe for LogArrayFileBuilder<W> where
    W: UnwindSafe

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, 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,