CatalogNamespaceQueryOperations

Trait CatalogNamespaceQueryOperations 

Source
pub trait CatalogNamespaceQueryOperations: Send {
    // Required methods
    fn find_namespace<'life0, 'async_trait>(
        &'life0 mut self,
        id: NamespaceId,
    ) -> Pin<Box<dyn Future<Output = Result<Option<NamespaceDef>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn find_namespace_by_name<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        name: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<Option<NamespaceDef>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn get_namespace<'life0, 'async_trait>(
        &'life0 mut self,
        id: NamespaceId,
    ) -> Pin<Box<dyn Future<Output = Result<NamespaceDef>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_namespace_by_name<'life0, 'async_trait>(
        &'life0 mut self,
        name: impl 'async_trait + Into<Fragment> + Send,
    ) -> Pin<Box<dyn Future<Output = Result<NamespaceDef>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn find_namespace<'life0, 'async_trait>( &'life0 mut self, id: NamespaceId, ) -> Pin<Box<dyn Future<Output = Result<Option<NamespaceDef>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn find_namespace_by_name<'life0, 'life1, 'async_trait>( &'life0 mut self, name: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Option<NamespaceDef>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn get_namespace<'life0, 'async_trait>( &'life0 mut self, id: NamespaceId, ) -> Pin<Box<dyn Future<Output = Result<NamespaceDef>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn get_namespace_by_name<'life0, 'async_trait>( &'life0 mut self, name: impl 'async_trait + Into<Fragment> + Send, ) -> Pin<Box<dyn Future<Output = Result<NamespaceDef>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§