TransactionalViewChanges

Trait TransactionalViewChanges 

Source
pub trait TransactionalViewChanges {
    // Required methods
    fn find_view(&self, id: ViewId) -> Option<&ViewDef>;
    fn find_view_by_name<'a>(
        &self,
        namespace: NamespaceId,
        name: impl IntoFragment<'a>,
    ) -> Option<&ViewDef>;
    fn is_view_deleted(&self, id: ViewId) -> bool;
    fn is_view_deleted_by_name<'a>(
        &self,
        namespace: NamespaceId,
        name: impl IntoFragment<'a>,
    ) -> bool;
}

Required Methods§

Source

fn find_view(&self, id: ViewId) -> Option<&ViewDef>

Source

fn find_view_by_name<'a>( &self, namespace: NamespaceId, name: impl IntoFragment<'a>, ) -> Option<&ViewDef>

Source

fn is_view_deleted(&self, id: ViewId) -> bool

Source

fn is_view_deleted_by_name<'a>( &self, namespace: NamespaceId, name: impl IntoFragment<'a>, ) -> bool

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§