pub struct EmptyCatalogProviderList;Expand description
A catalog list that contains no catalogs.
Session implementations that do not provide catalog
access can return this list explicitly.
Trait Implementations§
Source§impl CatalogProviderList for EmptyCatalogProviderList
impl CatalogProviderList for EmptyCatalogProviderList
Source§fn register_catalog(
&self,
_name: String,
_catalog: Arc<dyn CatalogProvider>,
) -> Option<Arc<dyn CatalogProvider>>
fn register_catalog( &self, _name: String, _catalog: Arc<dyn CatalogProvider>, ) -> Option<Arc<dyn CatalogProvider>>
Adds a new catalog to this catalog list
If a catalog of the same name existed before, it is replaced in the list and returned.
Source§fn catalog_names(&self) -> Vec<String>
fn catalog_names(&self) -> Vec<String>
Retrieves the list of available catalog names
Source§impl Debug for EmptyCatalogProviderList
impl Debug for EmptyCatalogProviderList
Source§impl Default for EmptyCatalogProviderList
impl Default for EmptyCatalogProviderList
Source§fn default() -> EmptyCatalogProviderList
fn default() -> EmptyCatalogProviderList
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EmptyCatalogProviderList
impl RefUnwindSafe for EmptyCatalogProviderList
impl Send for EmptyCatalogProviderList
impl Sync for EmptyCatalogProviderList
impl Unpin for EmptyCatalogProviderList
impl UnsafeUnpin for EmptyCatalogProviderList
impl UnwindSafe for EmptyCatalogProviderList
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more