Trait tc_tensor::TensorIO [−][src]
pub trait TensorIO<D: Dir> {
    type Txn: Transaction<D>;
    fn read_value<'async_trait>(
        self, 
        txn: Self::Txn, 
        coord: Coord
    ) -> Pin<Box<dyn Future<Output = TCResult<Number>> + Send + 'async_trait>>
    where
        Self: 'async_trait;
    fn write_value<'life0, 'async_trait>(
        &'life0 self, 
        txn_id: TxnId, 
        bounds: Bounds, 
        value: Number
    ) -> Pin<Box<dyn Future<Output = TCResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait;
    fn write_value_at<'life0, 'async_trait>(
        &'life0 self, 
        txn_id: TxnId, 
        coord: Coord, 
        value: Number
    ) -> Pin<Box<dyn Future<Output = TCResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait;
}Expand description
Tensor I/O operations
Associated Types
type Txn: Transaction<D>
type Txn: Transaction<D>
The type of Transaction to expect
Required methods
Read a single value from this Tensor.