mz_storage_types::connections::inline

Trait ConnectionResolver

Source
pub trait ConnectionResolver {
    // Required method
    fn resolve_connection(
        &self,
        id: CatalogItemId,
    ) -> Connection<InlinedConnection>;
}
Expand description

Permits any struct to take a CatalogItemId into an inlined connection.

It is safe to assume that if this id does not refer to a catalog connection, this function will panic.

Required Methods§

Implementations on Foreign Types§

Source§

impl<R: ConnectionResolver + ?Sized> ConnectionResolver for &R

Implementors§