pub trait CatalogViewQueryOperations: CatalogNamespaceQueryOperations {
// Required methods
fn find_view<'life0, 'async_trait>(
&'life0 mut self,
id: ViewId,
) -> Pin<Box<dyn Future<Output = Result<Option<ViewDef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn find_view_by_name<'life0, 'life1, 'async_trait>(
&'life0 mut self,
namespace: NamespaceId,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<ViewDef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_view<'life0, 'async_trait>(
&'life0 mut self,
id: ViewId,
) -> Pin<Box<dyn Future<Output = Result<ViewDef>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_view_by_name<'life0, 'async_trait>(
&'life0 mut self,
namespace: NamespaceId,
name: impl 'async_trait + Into<Fragment> + Send,
) -> Pin<Box<dyn Future<Output = Result<ViewDef>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Required Methods§
fn find_view<'life0, 'async_trait>(
&'life0 mut self,
id: ViewId,
) -> Pin<Box<dyn Future<Output = Result<Option<ViewDef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn find_view_by_name<'life0, 'life1, 'async_trait>(
&'life0 mut self,
namespace: NamespaceId,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<ViewDef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_view<'life0, 'async_trait>(
&'life0 mut self,
id: ViewId,
) -> Pin<Box<dyn Future<Output = Result<ViewDef>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_view_by_name<'life0, 'async_trait>(
&'life0 mut self,
namespace: NamespaceId,
name: impl 'async_trait + Into<Fragment> + Send,
) -> Pin<Box<dyn Future<Output = Result<ViewDef>> + 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.