pub trait SharedObjectLockSession {
// Required methods
fn acquire_shared_catalog(
&self,
target: SharedCatalogLock<'_>,
mode: RelationLockMode,
) -> Result<ScopedRelationLock<'_>, SQLError>;
fn refresh_shared_catalog(&self) -> Result<(), SQLError>;
fn next_catalog_oid(&self) -> Result<u32, SQLError>;
}Required Methods§
Sourcefn next_catalog_oid(&self) -> Result<u32, SQLError>
fn next_catalog_oid(&self) -> Result<u32, SQLError>
The next OID of the database’s counter, as crate::catalog::identity::CatalogOidCounter::next_oid advances it.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".