[][src]Struct terminus_store::layer::BaseLayer

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

A base layer.

This layer type has no parent, and therefore does not store any additions or removals. It stores all its triples plus indexes directly.

Methods

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

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

pub fn load(name: [u32; 5], maps: BaseLayerMaps<M>) -> BaseLayer<M>[src]

Trait Implementations

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

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

Auto Trait Implementations

impl<M> Send for BaseLayer<M>

impl<M> Sync for BaseLayer<M>

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

impl<M> UnwindSafe for BaseLayer<M> where
    M: UnwindSafe

impl<M> RefUnwindSafe for BaseLayer<M> where
    M: RefUnwindSafe

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]