[][src]Struct terminus_store::layer::ChildLayer

pub struct ChildLayer<M: 'static + AsRef<[u8]> + Clone + Send + Sync> { /* fields omitted */ }

A child layer.

This layer type has a parent. It stores triple additions and removals.

Methods

impl<M: 'static + AsRef<[u8]> + Clone + Send + Sync> ChildLayer<M>[src]

pub fn load_from_files<F: FileLoad<Map = M> + FileStore + Clone>(
    name: [u32; 5],
    parent: Arc<dyn Layer>,
    files: &ChildLayerFiles<F>
) -> impl Future<Item = Self, Error = Error>
[src]

pub fn load(
    name: [u32; 5],
    parent: Arc<dyn Layer>,
    maps: ChildLayerMaps<M>
) -> ChildLayer<M>
[src]

Trait Implementations

impl<M: 'static + AsRef<[u8]> + Clone + Send + Sync> Layer for ChildLayer<M>[src]

impl<M: Clone + 'static + AsRef<[u8]> + Send + Sync> Clone for ChildLayer<M>[src]

Auto Trait Implementations

impl<M> Send for ChildLayer<M>

impl<M> Sync for ChildLayer<M>

impl<M> Unpin for ChildLayer<M> where
    M: Unpin

impl<M> !UnwindSafe for ChildLayer<M>

impl<M> !RefUnwindSafe for ChildLayer<M>

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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