Struct garage_table::data::TableData[][src]

pub struct TableData<F: TableSchema, R: TableReplication> {
    pub name: String,
    pub store: Tree,
    // some fields omitted
}

Fields

name: Stringstore: Tree

Implementations

impl<F, R> TableData<F, R> where
    F: TableSchema,
    R: TableReplication
[src]

pub fn new(
    system: Arc<System>,
    name: String,
    instance: F,
    replication: R,
    db: &Db
) -> Arc<Self>
[src]

pub fn read_entry(&self, p: &F::P, s: &F::S) -> Result<Option<ByteBuf>, Error>[src]

pub fn read_range(
    &self,
    p: &F::P,
    s: &Option<F::S>,
    filter: &Option<F::Filter>,
    limit: usize
) -> Result<Vec<Arc<ByteBuf>>, Error>
[src]

pub fn gc_todo_len(&self) -> usize[src]

Auto Trait Implementations

impl<F, R> !RefUnwindSafe for TableData<F, R>

impl<F, R> Send for TableData<F, R>

impl<F, R> Sync for TableData<F, R>

impl<F, R> Unpin for TableData<F, R> where
    F: Unpin,
    R: Unpin

impl<F, R> !UnwindSafe for TableData<F, R>

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> Instrument for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,