[][src]Struct terminus_store::structure::adjacencylist::AdjacencyListBuilder

pub struct AdjacencyListBuilder<F, W1, W2, W3> where
    F: 'static + FileLoad + FileStore,
    W1: 'static + AsyncWrite + Send,
    W2: 'static + AsyncWrite + Send,
    W3: 'static + AsyncWrite + Send
{ /* fields omitted */ }

Implementations

impl<F, W1, W2, W3> AdjacencyListBuilder<F, W1, W2, W3> where
    F: 'static + FileLoad + FileStore,
    W1: 'static + AsyncWrite + Send,
    W2: 'static + AsyncWrite + Send,
    W3: 'static + AsyncWrite + Send
[src]

pub fn new(
    bitfile: F,
    bitindex_blocks: W1,
    bitindex_sblocks: W2,
    nums_writer: W3,
    width: u8
) -> AdjacencyListBuilder<F, W1, W2, W3>
[src]

pub fn push(
    self,
    left: u64,
    right: u64
) -> impl Future<Item = Self, Error = Error>
[src]

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

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

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

Auto Trait Implementations

impl<F, W1, W2, W3> RefUnwindSafe for AdjacencyListBuilder<F, W1, W2, W3> where
    F: RefUnwindSafe,
    W1: RefUnwindSafe,
    W2: RefUnwindSafe,
    W3: RefUnwindSafe,
    <F as FileStore>::Write: RefUnwindSafe

impl<F, W1, W2, W3> Send for AdjacencyListBuilder<F, W1, W2, W3> where
    <F as FileStore>::Write: Send

impl<F, W1, W2, W3> Sync for AdjacencyListBuilder<F, W1, W2, W3> where
    W1: Sync,
    W2: Sync,
    W3: Sync,
    <F as FileStore>::Write: Sync

impl<F, W1, W2, W3> Unpin for AdjacencyListBuilder<F, W1, W2, W3> where
    F: Unpin,
    W1: Unpin,
    W2: Unpin,
    W3: Unpin,
    <F as FileStore>::Write: Unpin

impl<F, W1, W2, W3> UnwindSafe for AdjacencyListBuilder<F, W1, W2, W3> where
    F: UnwindSafe,
    W1: UnwindSafe,
    W2: UnwindSafe,
    W3: UnwindSafe,
    <F as FileStore>::Write: 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>,