pub trait SparseWriteLock<'a>: SparseInstance {
    type Guard: SparseWriteGuard<Self::DType>;

    // Required method
    fn write<'async_trait>(
        &'a self
    ) -> Pin<Box<dyn Future<Output = Self::Guard> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait;
}

Required Associated Types§

Required Methods§

source

fn write<'async_trait>( &'a self ) -> Pin<Box<dyn Future<Output = Self::Guard> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, FE, T> SparseWriteLock<'a> for SparseVersion<FE, T>
where FE: AsType<Node> + ThreadSafe, T: CType + DType + Debug, Number: From<T> + CastInto<T>,

§

type Guard = <SparseFile<FE, T> as SparseWriteLock<'a>>::Guard

source§

impl<'a, FE, T, S> SparseWriteLock<'a> for SparseCow<FE, T, S>
where FE: AsType<Node> + ThreadSafe, T: CType + DType + Debug, S: SparseInstance<DType = T> + Clone, Number: From<T> + CastInto<T>,

§

type Guard = SparseCowWriteGuard<'a, FE, T, S>

source§

impl<'a, S> SparseWriteLock<'a> for SparseSlice<S>
where S: SparseWriteLock<'a>,