Struct delta_sharing_server::manager::file::FileShareManager
source · pub struct FileShareManager { /* private fields */ }Expand description
ShareReader using a configuration file as the backing store.
Implementations§
Trait Implementations§
Fetch a list of shares stored on the sharing server store. The list
cursor is used to limit the amount of returned shares and to resume
listing from a specified point in the collection.
Get share details by name
source§fn list_schemas<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
share_name: &'life1 str,
_cursor: &'life2 ListCursor
) -> Pin<Box<dyn Future<Output = Result<List<Schema>, ShareIoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn list_schemas<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, share_name: &'life1 str, _cursor: &'life2 ListCursor ) -> Pin<Box<dyn Future<Output = Result<List<Schema>, ShareIoError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,
Fetch a list of schemas stored on the sharing server store under a
spcific share. The list cursor is used to limit the amount of returned
schemas and to resume listing from a specified point in the collection.
Fetch a list of tables stored on the sharing server store under a
spcific share combination. The list cursor is used to limit
the amount of returned tables and to resume listing from a specified
point in the collection.
source§fn list_tables_in_schema<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
share_name: &'life1 str,
schema_name: &'life2 str,
_cursor: &'life3 ListCursor
) -> Pin<Box<dyn Future<Output = Result<List<Table>, ShareIoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn list_tables_in_schema<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, share_name: &'life1 str, schema_name: &'life2 str, _cursor: &'life3 ListCursor ) -> Pin<Box<dyn Future<Output = Result<List<Table>, ShareIoError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,
Fetch a list of tables stored on the sharing server store under a
spcific share + schema combination. The list cursor is used to limit
the amount of returned tables and to resume listing from a specified
point in the collection.
source§fn get_table<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
share_name: &'life1 str,
schema_name: &'life2 str,
table_name: &'life3 str
) -> Pin<Box<dyn Future<Output = Result<Table, ShareIoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn get_table<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, share_name: &'life1 str, schema_name: &'life2 str, table_name: &'life3 str ) -> Pin<Box<dyn Future<Output = Result<Table, ShareIoError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,
Get table specifics for a combination of share + schema + name.
Auto Trait Implementations§
Blanket Implementations§
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more