Struct garage_model::garage::Garage [−][src]
pub struct Garage { pub config: Config, pub db: Db, pub background: Arc<BackgroundRunner>, pub system: Arc<System>, pub block_manager: Arc<BlockManager>, pub bucket_table: Arc<Table<BucketTable, TableFullReplication>>, pub key_table: Arc<Table<KeyTable, TableFullReplication>>, pub object_table: Arc<Table<ObjectTable, TableShardedReplication>>, pub version_table: Arc<Table<VersionTable, TableShardedReplication>>, pub block_ref_table: Arc<Table<BlockRefTable, TableShardedReplication>>, }
Expand description
An entire Garage full of data
Fields
config: Config
The parsed configuration Garage is running
db: Db
The local database
background: Arc<BackgroundRunner>
A background job runner
system: Arc<System>
The membership manager
block_manager: Arc<BlockManager>
The block manager
bucket_table: Arc<Table<BucketTable, TableFullReplication>>
Table containing informations about buckets
key_table: Arc<Table<KeyTable, TableFullReplication>>
Table containing informations about api keys
object_table: Arc<Table<ObjectTable, TableShardedReplication>>
version_table: Arc<Table<VersionTable, TableShardedReplication>>
block_ref_table: Arc<Table<BlockRefTable, TableShardedReplication>>
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Garage
impl Send for Garage
impl Sync for Garage
impl Unpin for Garage
impl !UnwindSafe for Garage
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,