pub fn table(&self, table_name: impl AsRef<str>) -> Result<MappedRwLockReadGuard<'_, Table>> {
        let table_name = table_name.as_ref();
        RwLockReadGuard::try_map(self.tables.read(), |tables| tables.get(table_name))
            .map_err(|_| TableNotFound { table: table_name }.build())
    }
/// Get a specific table by name, returning `None` if there is no such table
Get a specific table by name, returning `None` if there is no such table
Get a specific table by name returning ` None ` if there is no such table
pub fn table(&self, table_name: impl AsRef<str>) -> Result<MappedRwLockReadGuard<'_, Table>> {
        let table_name = table_name.as_ref();
        RwLockReadGuard::try_map(self.tables.read(), |tables| tables.get(table_name))
            .map_err(|_| TableNotFound { table: table_name }.build())
    }
pub fn table ( & self , table_name : impl AsRef < str > ) -> Result < MappedRwLockReadGuard < ' _ , Table > > { let table_name = table_name . as_ref ( ) ; RwLockReadGuard :: try_map ( self . tables . read ( ) , | tables | tables . get ( table_name ) ) . map_err ( | _ | TableNotFound { table : table_name } . build ( ) ) }
Get a specific table by name, returning `None` if there is no such table
Get a specific table by name returning ` None ` if there is no such table
&self
table_name
impl AsRef<str>
&self
table_name
impl AsRef<str>