pub struct AdminTransaction {
pub multi: MultiTransaction,
pub single: SingleTransaction,
pub cmd: Option<MultiWriteTransaction>,
pub event_bus: EventBus,
pub changes: TransactionalDefChanges,
pub testing: Option<TestingContext>,
/* private fields */
}Expand description
An active admin transaction that supports Query + DML + DDL operations.
AdminTransaction is the most privileged transaction type, capable of executing DDL (schema changes), DML (data mutations), and queries. It tracks catalog definition changes (TransactionalDefChanges) for DDL.
The transaction will auto-rollback on drop if not explicitly committed.
Fields§
§multi: MultiTransaction§single: SingleTransaction§cmd: Option<MultiWriteTransaction>§event_bus: EventBus§changes: TransactionalDefChanges§testing: Option<TestingContext>Testing audit log. Set by the VM when in test context.
Implementations§
Source§impl AdminTransaction
impl AdminTransaction
Sourcepub fn restore_savepoint(&mut self, sp: Savepoint)
pub fn restore_savepoint(&mut self, sp: Savepoint)
Restore transaction state to a previously created savepoint.
Sourcepub fn clear_test_flow_state(&mut self)
pub fn clear_test_flow_state(&mut self)
Reset test-only flow bookkeeping so setup statements do not appear as
in-test mutations when RUN TESTS later performs an inline flush.
Sourcepub fn capture_testing_pre_commit<F>(&mut self, f: F) -> Result<()>
pub fn capture_testing_pre_commit<F>(&mut self, f: F) -> Result<()>
Execute test-only pre-commit style processing without committing.
This is used by testing helpers that need commit-time flow work materialized while still staying inside the test savepoint.
Source§impl AdminTransaction
impl AdminTransaction
Sourcepub fn new(
multi: MultiTransaction,
single: SingleTransaction,
event_bus: EventBus,
interceptors: Interceptors,
) -> Result<Self>
pub fn new( multi: MultiTransaction, single: SingleTransaction, event_bus: EventBus, interceptors: Interceptors, ) -> Result<Self>
Creates a new active admin transaction with a pre-commit callback
pub fn event_bus(&self) -> &EventBus
Sourcepub fn commit(&mut self) -> Result<CommitVersion>
pub fn commit(&mut self) -> Result<CommitVersion>
Commit the transaction. Since single transactions are short-lived and auto-commit, this only commits the multi transaction.
Sourcepub fn pending_writes(&self) -> &PendingWrites
pub fn pending_writes(&self) -> &PendingWrites
Get access to the pending writes in this transaction
Sourcepub fn with_single_query<'a, I, F, R>(&self, keys: I, f: F) -> Result<R>where
I: IntoIterator<Item = &'a EncodedKey> + Send,
F: FnOnce(&mut SingleReadTransaction<'_>) -> Result<R> + Send,
R: Send,
pub fn with_single_query<'a, I, F, R>(&self, keys: I, f: F) -> Result<R>where
I: IntoIterator<Item = &'a EncodedKey> + Send,
F: FnOnce(&mut SingleReadTransaction<'_>) -> Result<R> + Send,
R: Send,
Execute a function with query access to the single transaction.
Sourcepub fn with_single_command<'a, I, F, R>(&self, keys: I, f: F) -> Result<R>where
I: IntoIterator<Item = &'a EncodedKey> + Send,
F: FnOnce(&mut SingleWriteTransaction<'_>) -> Result<R> + Send,
R: Send,
pub fn with_single_command<'a, I, F, R>(&self, keys: I, f: F) -> Result<R>where
I: IntoIterator<Item = &'a EncodedKey> + Send,
F: FnOnce(&mut SingleWriteTransaction<'_>) -> Result<R> + Send,
R: Send,
Execute a function with query access to the single transaction.
Sourcepub fn with_multi_query<F, R>(&self, f: F) -> Result<R>
pub fn with_multi_query<F, R>(&self, f: F) -> Result<R>
Execute a function with a query transaction view.
pub fn with_multi_query_as_of_exclusive<F, R>( &self, version: CommitVersion, f: F, ) -> Result<R>
pub fn with_multi_query_as_of_inclusive<F, R>( &self, version: CommitVersion, f: F, ) -> Result<R>
Sourcepub fn begin_single_query<'a, I>(
&self,
keys: I,
) -> Result<SingleReadTransaction<'_>>where
I: IntoIterator<Item = &'a EncodedKey>,
pub fn begin_single_query<'a, I>(
&self,
keys: I,
) -> Result<SingleReadTransaction<'_>>where
I: IntoIterator<Item = &'a EncodedKey>,
Begin a single-version query transaction for specific keys
Sourcepub fn begin_single_command<'a, I>(
&self,
keys: I,
) -> Result<SingleWriteTransaction<'_>>where
I: IntoIterator<Item = &'a EncodedKey>,
pub fn begin_single_command<'a, I>(
&self,
keys: I,
) -> Result<SingleWriteTransaction<'_>>where
I: IntoIterator<Item = &'a EncodedKey>,
Begin a single-version command transaction for specific keys
Sourcepub fn get_changes(&self) -> &TransactionalDefChanges
pub fn get_changes(&self) -> &TransactionalDefChanges
Get reference to catalog changes for this transaction
Sourcepub fn track_row_change(&mut self, change: RowChange)
pub fn track_row_change(&mut self, change: RowChange)
Track a row change for post-commit event emission
Sourcepub fn track_flow_change(&mut self, change: Change)
pub fn track_flow_change(&mut self, change: Change)
Track a flow change for transactional view pre-commit processing
Sourcepub fn version(&self) -> CommitVersion
pub fn version(&self) -> CommitVersion
Get the transaction version
Sourcepub fn id(&self) -> TransactionId
pub fn id(&self) -> TransactionId
Get the transaction ID
Sourcepub fn get(&mut self, key: &EncodedKey) -> Result<Option<MultiVersionValues>>
pub fn get(&mut self, key: &EncodedKey) -> Result<Option<MultiVersionValues>>
Get a value by key
Sourcepub fn contains_key(&mut self, key: &EncodedKey) -> Result<bool>
pub fn contains_key(&mut self, key: &EncodedKey) -> Result<bool>
Check if a key exists
Sourcepub fn prefix(&mut self, prefix: &EncodedKey) -> Result<MultiVersionBatch>
pub fn prefix(&mut self, prefix: &EncodedKey) -> Result<MultiVersionBatch>
Get a prefix batch
Sourcepub fn prefix_rev(&mut self, prefix: &EncodedKey) -> Result<MultiVersionBatch>
pub fn prefix_rev(&mut self, prefix: &EncodedKey) -> Result<MultiVersionBatch>
Get a reverse prefix batch
Sourcepub fn read_as_of_version_exclusive(
&mut self,
version: CommitVersion,
) -> Result<()>
pub fn read_as_of_version_exclusive( &mut self, version: CommitVersion, ) -> Result<()>
Read as of version exclusive
Sourcepub fn set(&mut self, key: &EncodedKey, row: EncodedValues) -> Result<()>
pub fn set(&mut self, key: &EncodedKey, row: EncodedValues) -> Result<()>
Set a key-value pair
Sourcepub fn unset(&mut self, key: &EncodedKey, values: EncodedValues) -> Result<()>
pub fn unset(&mut self, key: &EncodedKey, values: EncodedValues) -> Result<()>
Unset a key, preserving the deleted values.
Sourcepub fn remove(&mut self, key: &EncodedKey) -> Result<()>
pub fn remove(&mut self, key: &EncodedKey) -> Result<()>
Remove a key without preserving the deleted values.
Sourcepub fn range(
&mut self,
range: EncodedKeyRange,
batch_size: usize,
) -> Result<Box<dyn Iterator<Item = Result<MultiVersionValues>> + Send + '_>>
pub fn range( &mut self, range: EncodedKeyRange, batch_size: usize, ) -> Result<Box<dyn Iterator<Item = Result<MultiVersionValues>> + Send + '_>>
Create a streaming iterator for forward range queries.
Sourcepub fn range_rev(
&mut self,
range: EncodedKeyRange,
batch_size: usize,
) -> Result<Box<dyn Iterator<Item = Result<MultiVersionValues>> + Send + '_>>
pub fn range_rev( &mut self, range: EncodedKeyRange, batch_size: usize, ) -> Result<Box<dyn Iterator<Item = Result<MultiVersionValues>> + Send + '_>>
Create a streaming iterator for reverse range queries.
Trait Implementations§
Source§impl CatalogTrackDictionaryChangeOperations for AdminTransaction
impl CatalogTrackDictionaryChangeOperations for AdminTransaction
fn track_dictionary_def_created( &mut self, dictionary: DictionaryDef, ) -> Result<()>
fn track_dictionary_def_updated( &mut self, pre: DictionaryDef, post: DictionaryDef, ) -> Result<()>
fn track_dictionary_def_deleted( &mut self, dictionary: DictionaryDef, ) -> Result<()>
Source§impl CatalogTrackHandlerChangeOperations for AdminTransaction
impl CatalogTrackHandlerChangeOperations for AdminTransaction
fn track_handler_def_created(&mut self, handler: HandlerDef) -> Result<()>
fn track_handler_def_deleted(&mut self, handler: HandlerDef) -> Result<()>
Source§impl CatalogTrackMigrationChangeOperations for AdminTransaction
impl CatalogTrackMigrationChangeOperations for AdminTransaction
fn track_migration_def_created(&mut self, migration: MigrationDef) -> Result<()>
fn track_migration_def_deleted(&mut self, migration: MigrationDef) -> Result<()>
Source§impl CatalogTrackMigrationEventChangeOperations for AdminTransaction
impl CatalogTrackMigrationEventChangeOperations for AdminTransaction
fn track_migration_event_created(&mut self, event: MigrationEvent) -> Result<()>
Source§impl CatalogTrackProcedureChangeOperations for AdminTransaction
impl CatalogTrackProcedureChangeOperations for AdminTransaction
fn track_procedure_def_created(&mut self, procedure: ProcedureDef) -> Result<()>
fn track_procedure_def_updated( &mut self, pre: ProcedureDef, post: ProcedureDef, ) -> Result<()>
fn track_procedure_def_deleted(&mut self, procedure: ProcedureDef) -> Result<()>
Source§impl CatalogTrackRingBufferChangeOperations for AdminTransaction
impl CatalogTrackRingBufferChangeOperations for AdminTransaction
fn track_ringbuffer_def_created( &mut self, ringbuffer: RingBufferDef, ) -> Result<()>
fn track_ringbuffer_def_updated( &mut self, pre: RingBufferDef, post: RingBufferDef, ) -> Result<()>
fn track_ringbuffer_def_deleted( &mut self, ringbuffer: RingBufferDef, ) -> Result<()>
Source§impl CatalogTrackSubscriptionChangeOperations for AdminTransaction
impl CatalogTrackSubscriptionChangeOperations for AdminTransaction
fn track_subscription_def_created( &mut self, subscription: SubscriptionDef, ) -> Result<()>
fn track_subscription_def_updated( &mut self, pre: SubscriptionDef, post: SubscriptionDef, ) -> Result<()>
fn track_subscription_def_deleted( &mut self, subscription: SubscriptionDef, ) -> Result<()>
Source§impl CatalogTrackSumTypeChangeOperations for AdminTransaction
impl CatalogTrackSumTypeChangeOperations for AdminTransaction
fn track_sumtype_def_created(&mut self, sumtype: SumTypeDef) -> Result<()>
fn track_sumtype_def_updated( &mut self, pre: SumTypeDef, post: SumTypeDef, ) -> Result<()>
fn track_sumtype_def_deleted(&mut self, sumtype: SumTypeDef) -> Result<()>
Source§impl CatalogTrackUserAuthenticationChangeOperations for AdminTransaction
impl CatalogTrackUserAuthenticationChangeOperations for AdminTransaction
fn track_user_authentication_def_created( &mut self, auth: UserAuthenticationDef, ) -> Result<()>
fn track_user_authentication_def_deleted( &mut self, auth: UserAuthenticationDef, ) -> Result<()>
Source§impl CatalogTrackUserRoleChangeOperations for AdminTransaction
impl CatalogTrackUserRoleChangeOperations for AdminTransaction
fn track_user_role_def_created(&mut self, user_role: UserRoleDef) -> Result<()>
fn track_user_role_def_deleted(&mut self, user_role: UserRoleDef) -> Result<()>
Source§impl Drop for AdminTransaction
impl Drop for AdminTransaction
Source§impl<'a> From<&'a mut AdminTransaction> for Transaction<'a>
impl<'a> From<&'a mut AdminTransaction> for Transaction<'a>
Source§fn from(txn: &'a mut AdminTransaction) -> Self
fn from(txn: &'a mut AdminTransaction) -> Self
Source§impl TransactionalDictionaryChanges for AdminTransaction
impl TransactionalDictionaryChanges for AdminTransaction
fn find_dictionary(&self, id: DictionaryId) -> Option<&DictionaryDef>
fn find_dictionary_by_name( &self, namespace: NamespaceId, name: &str, ) -> Option<&DictionaryDef>
fn is_dictionary_deleted(&self, id: DictionaryId) -> bool
fn is_dictionary_deleted_by_name( &self, namespace: NamespaceId, name: &str, ) -> bool
Source§impl TransactionalFlowChanges for AdminTransaction
impl TransactionalFlowChanges for AdminTransaction
fn find_flow(&self, id: FlowId) -> Option<&FlowDef>
fn find_flow_by_name( &self, namespace: NamespaceId, name: &str, ) -> Option<&FlowDef>
fn is_flow_deleted(&self, id: FlowId) -> bool
fn is_flow_deleted_by_name(&self, namespace: NamespaceId, name: &str) -> bool
Source§impl TransactionalHandlerChanges for AdminTransaction
impl TransactionalHandlerChanges for AdminTransaction
fn find_handler_by_id(&self, id: HandlerId) -> Option<&HandlerDef>
fn find_handler_by_name( &self, namespace: NamespaceId, name: &str, ) -> Option<&HandlerDef>
fn is_handler_deleted_by_name(&self, namespace: NamespaceId, name: &str) -> bool
Source§impl TransactionalMigrationChanges for AdminTransaction
impl TransactionalMigrationChanges for AdminTransaction
fn find_migration(&self, id: MigrationId) -> Option<&MigrationDef>
fn find_migration_by_name(&self, name: &str) -> Option<&MigrationDef>
fn is_migration_deleted(&self, id: MigrationId) -> bool
fn is_migration_deleted_by_name(&self, name: &str) -> bool
Source§impl TransactionalNamespaceChanges for AdminTransaction
impl TransactionalNamespaceChanges for AdminTransaction
fn find_namespace(&self, id: NamespaceId) -> Option<&Namespace>
fn find_namespace_by_name(&self, name: &str) -> Option<&Namespace>
fn is_namespace_deleted(&self, id: NamespaceId) -> bool
fn is_namespace_deleted_by_name(&self, name: &str) -> bool
Source§impl TransactionalProcedureChanges for AdminTransaction
impl TransactionalProcedureChanges for AdminTransaction
fn find_procedure(&self, id: ProcedureId) -> Option<&ProcedureDef>
fn find_procedure_by_name( &self, namespace: NamespaceId, name: &str, ) -> Option<&ProcedureDef>
fn is_procedure_deleted(&self, id: ProcedureId) -> bool
fn is_procedure_deleted_by_name( &self, namespace: NamespaceId, name: &str, ) -> bool
Source§impl TransactionalRingBufferChanges for AdminTransaction
impl TransactionalRingBufferChanges for AdminTransaction
fn find_ringbuffer(&self, id: RingBufferId) -> Option<&RingBufferDef>
fn find_ringbuffer_by_name( &self, namespace: NamespaceId, name: &str, ) -> Option<&RingBufferDef>
fn is_ringbuffer_deleted(&self, id: RingBufferId) -> bool
fn is_ringbuffer_deleted_by_name( &self, namespace: NamespaceId, name: &str, ) -> bool
Source§impl TransactionalSeriesChanges for AdminTransaction
impl TransactionalSeriesChanges for AdminTransaction
fn find_series(&self, id: SeriesId) -> Option<&SeriesDef>
fn find_series_by_name( &self, namespace: NamespaceId, name: &str, ) -> Option<&SeriesDef>
fn is_series_deleted(&self, id: SeriesId) -> bool
fn is_series_deleted_by_name(&self, namespace: NamespaceId, name: &str) -> bool
Source§impl TransactionalSubscriptionChanges for AdminTransaction
impl TransactionalSubscriptionChanges for AdminTransaction
fn find_subscription(&self, id: SubscriptionId) -> Option<&SubscriptionDef>
fn is_subscription_deleted(&self, id: SubscriptionId) -> bool
Source§impl TransactionalSumTypeChanges for AdminTransaction
impl TransactionalSumTypeChanges for AdminTransaction
fn find_sumtype(&self, id: SumTypeId) -> Option<&SumTypeDef>
fn find_sumtype_by_name( &self, namespace: NamespaceId, name: &str, ) -> Option<&SumTypeDef>
fn is_sumtype_deleted(&self, id: SumTypeId) -> bool
fn is_sumtype_deleted_by_name(&self, namespace: NamespaceId, name: &str) -> bool
Source§impl TransactionalTableChanges for AdminTransaction
impl TransactionalTableChanges for AdminTransaction
fn find_table(&self, id: TableId) -> Option<&TableDef>
fn find_table_by_name( &self, namespace: NamespaceId, name: &str, ) -> Option<&TableDef>
fn is_table_deleted(&self, id: TableId) -> bool
fn is_table_deleted_by_name(&self, namespace: NamespaceId, name: &str) -> bool
Source§impl TransactionalTestChanges for AdminTransaction
impl TransactionalTestChanges for AdminTransaction
fn find_test(&self, id: TestId) -> Option<&TestDef>
fn find_test_by_name( &self, namespace: NamespaceId, name: &str, ) -> Option<&TestDef>
fn is_test_deleted(&self, id: TestId) -> bool
fn is_test_deleted_by_name(&self, namespace: NamespaceId, name: &str) -> bool
Source§impl TransactionalUserAuthenticationChanges for AdminTransaction
impl TransactionalUserAuthenticationChanges for AdminTransaction
fn find_user_authentication( &self, id: UserAuthenticationId, ) -> Option<&UserAuthenticationDef>
fn find_user_authentication_by_user_and_method( &self, user_id: UserId, method: &str, ) -> Option<&UserAuthenticationDef>
fn is_user_authentication_deleted(&self, id: UserAuthenticationId) -> bool
Source§impl TransactionalUserRoleChanges for AdminTransaction
impl TransactionalUserRoleChanges for AdminTransaction
fn find_user_role(&self, user: UserId, role: RoleId) -> Option<&UserRoleDef>
fn is_user_role_deleted(&self, user: UserId, role: RoleId) -> bool
Source§impl TransactionalViewChanges for AdminTransaction
impl TransactionalViewChanges for AdminTransaction
fn find_view(&self, id: ViewId) -> Option<&ViewDef>
fn find_view_by_name( &self, namespace: NamespaceId, name: &str, ) -> Option<&ViewDef>
fn is_view_deleted(&self, id: ViewId) -> bool
fn is_view_deleted_by_name(&self, namespace: NamespaceId, name: &str) -> bool
Source§impl WithEventBus for AdminTransaction
impl WithEventBus for AdminTransaction
Source§impl WithInterceptors for AdminTransaction
impl WithInterceptors for AdminTransaction
Source§fn table_pre_insert_interceptors(
&mut self,
) -> &mut Chain<dyn TablePreInsertInterceptor + Send + Sync>
fn table_pre_insert_interceptors( &mut self, ) -> &mut Chain<dyn TablePreInsertInterceptor + Send + Sync>
Source§fn table_post_insert_interceptors(
&mut self,
) -> &mut Chain<dyn TablePostInsertInterceptor + Send + Sync>
fn table_post_insert_interceptors( &mut self, ) -> &mut Chain<dyn TablePostInsertInterceptor + Send + Sync>
Source§fn table_pre_update_interceptors(
&mut self,
) -> &mut Chain<dyn TablePreUpdateInterceptor + Send + Sync>
fn table_pre_update_interceptors( &mut self, ) -> &mut Chain<dyn TablePreUpdateInterceptor + Send + Sync>
Source§fn table_post_update_interceptors(
&mut self,
) -> &mut Chain<dyn TablePostUpdateInterceptor + Send + Sync>
fn table_post_update_interceptors( &mut self, ) -> &mut Chain<dyn TablePostUpdateInterceptor + Send + Sync>
Source§fn table_pre_delete_interceptors(
&mut self,
) -> &mut Chain<dyn TablePreDeleteInterceptor + Send + Sync>
fn table_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn TablePreDeleteInterceptor + Send + Sync>
Source§fn table_post_delete_interceptors(
&mut self,
) -> &mut Chain<dyn TablePostDeleteInterceptor + Send + Sync>
fn table_post_delete_interceptors( &mut self, ) -> &mut Chain<dyn TablePostDeleteInterceptor + Send + Sync>
Source§fn ringbuffer_pre_insert_interceptors(
&mut self,
) -> &mut Chain<dyn RingBufferPreInsertInterceptor + Send + Sync>
fn ringbuffer_pre_insert_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferPreInsertInterceptor + Send + Sync>
Source§fn ringbuffer_post_insert_interceptors(
&mut self,
) -> &mut Chain<dyn RingBufferPostInsertInterceptor + Send + Sync>
fn ringbuffer_post_insert_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferPostInsertInterceptor + Send + Sync>
Source§fn ringbuffer_pre_update_interceptors(
&mut self,
) -> &mut Chain<dyn RingBufferPreUpdateInterceptor + Send + Sync>
fn ringbuffer_pre_update_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferPreUpdateInterceptor + Send + Sync>
Source§fn ringbuffer_post_update_interceptors(
&mut self,
) -> &mut Chain<dyn RingBufferPostUpdateInterceptor + Send + Sync>
fn ringbuffer_post_update_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferPostUpdateInterceptor + Send + Sync>
Source§fn ringbuffer_pre_delete_interceptors(
&mut self,
) -> &mut Chain<dyn RingBufferPreDeleteInterceptor + Send + Sync>
fn ringbuffer_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferPreDeleteInterceptor + Send + Sync>
Source§fn ringbuffer_post_delete_interceptors(
&mut self,
) -> &mut Chain<dyn RingBufferPostDeleteInterceptor + Send + Sync>
fn ringbuffer_post_delete_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferPostDeleteInterceptor + Send + Sync>
Source§fn pre_commit_interceptors(
&mut self,
) -> &mut Chain<dyn PreCommitInterceptor + Send + Sync>
fn pre_commit_interceptors( &mut self, ) -> &mut Chain<dyn PreCommitInterceptor + Send + Sync>
Source§fn post_commit_interceptors(
&mut self,
) -> &mut Chain<dyn PostCommitInterceptor + Send + Sync>
fn post_commit_interceptors( &mut self, ) -> &mut Chain<dyn PostCommitInterceptor + Send + Sync>
Source§fn namespace_post_create_interceptors(
&mut self,
) -> &mut Chain<dyn NamespacePostCreateInterceptor + Send + Sync>
fn namespace_post_create_interceptors( &mut self, ) -> &mut Chain<dyn NamespacePostCreateInterceptor + Send + Sync>
Source§fn namespace_pre_update_interceptors(
&mut self,
) -> &mut Chain<dyn NamespacePreUpdateInterceptor + Send + Sync>
fn namespace_pre_update_interceptors( &mut self, ) -> &mut Chain<dyn NamespacePreUpdateInterceptor + Send + Sync>
Source§fn namespace_post_update_interceptors(
&mut self,
) -> &mut Chain<dyn NamespacePostUpdateInterceptor + Send + Sync>
fn namespace_post_update_interceptors( &mut self, ) -> &mut Chain<dyn NamespacePostUpdateInterceptor + Send + Sync>
Source§fn namespace_pre_delete_interceptors(
&mut self,
) -> &mut Chain<dyn NamespacePreDeleteInterceptor + Send + Sync>
fn namespace_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn NamespacePreDeleteInterceptor + Send + Sync>
Source§fn table_def_post_create_interceptors(
&mut self,
) -> &mut Chain<dyn TableDefPostCreateInterceptor + Send + Sync>
fn table_def_post_create_interceptors( &mut self, ) -> &mut Chain<dyn TableDefPostCreateInterceptor + Send + Sync>
Source§fn table_def_pre_update_interceptors(
&mut self,
) -> &mut Chain<dyn TableDefPreUpdateInterceptor + Send + Sync>
fn table_def_pre_update_interceptors( &mut self, ) -> &mut Chain<dyn TableDefPreUpdateInterceptor + Send + Sync>
Source§fn table_def_post_update_interceptors(
&mut self,
) -> &mut Chain<dyn TableDefPostUpdateInterceptor + Send + Sync>
fn table_def_post_update_interceptors( &mut self, ) -> &mut Chain<dyn TableDefPostUpdateInterceptor + Send + Sync>
Source§fn table_def_pre_delete_interceptors(
&mut self,
) -> &mut Chain<dyn TableDefPreDeleteInterceptor + Send + Sync>
fn table_def_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn TableDefPreDeleteInterceptor + Send + Sync>
Source§fn view_pre_insert_interceptors(
&mut self,
) -> &mut Chain<dyn ViewPreInsertInterceptor + Send + Sync>
fn view_pre_insert_interceptors( &mut self, ) -> &mut Chain<dyn ViewPreInsertInterceptor + Send + Sync>
Source§fn view_post_insert_interceptors(
&mut self,
) -> &mut Chain<dyn ViewPostInsertInterceptor + Send + Sync>
fn view_post_insert_interceptors( &mut self, ) -> &mut Chain<dyn ViewPostInsertInterceptor + Send + Sync>
Source§fn view_pre_update_interceptors(
&mut self,
) -> &mut Chain<dyn ViewPreUpdateInterceptor + Send + Sync>
fn view_pre_update_interceptors( &mut self, ) -> &mut Chain<dyn ViewPreUpdateInterceptor + Send + Sync>
Source§fn view_post_update_interceptors(
&mut self,
) -> &mut Chain<dyn ViewPostUpdateInterceptor + Send + Sync>
fn view_post_update_interceptors( &mut self, ) -> &mut Chain<dyn ViewPostUpdateInterceptor + Send + Sync>
Source§fn view_pre_delete_interceptors(
&mut self,
) -> &mut Chain<dyn ViewPreDeleteInterceptor + Send + Sync>
fn view_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn ViewPreDeleteInterceptor + Send + Sync>
Source§fn view_post_delete_interceptors(
&mut self,
) -> &mut Chain<dyn ViewPostDeleteInterceptor + Send + Sync>
fn view_post_delete_interceptors( &mut self, ) -> &mut Chain<dyn ViewPostDeleteInterceptor + Send + Sync>
Source§fn view_def_post_create_interceptors(
&mut self,
) -> &mut Chain<dyn ViewDefPostCreateInterceptor + Send + Sync>
fn view_def_post_create_interceptors( &mut self, ) -> &mut Chain<dyn ViewDefPostCreateInterceptor + Send + Sync>
Source§fn view_def_pre_update_interceptors(
&mut self,
) -> &mut Chain<dyn ViewDefPreUpdateInterceptor + Send + Sync>
fn view_def_pre_update_interceptors( &mut self, ) -> &mut Chain<dyn ViewDefPreUpdateInterceptor + Send + Sync>
Source§fn view_def_post_update_interceptors(
&mut self,
) -> &mut Chain<dyn ViewDefPostUpdateInterceptor + Send + Sync>
fn view_def_post_update_interceptors( &mut self, ) -> &mut Chain<dyn ViewDefPostUpdateInterceptor + Send + Sync>
Source§fn view_def_pre_delete_interceptors(
&mut self,
) -> &mut Chain<dyn ViewDefPreDeleteInterceptor + Send + Sync>
fn view_def_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn ViewDefPreDeleteInterceptor + Send + Sync>
Source§fn ringbuffer_def_post_create_interceptors(
&mut self,
) -> &mut Chain<dyn RingBufferDefPostCreateInterceptor + Send + Sync>
fn ringbuffer_def_post_create_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferDefPostCreateInterceptor + Send + Sync>
Source§fn ringbuffer_def_pre_update_interceptors(
&mut self,
) -> &mut Chain<dyn RingBufferDefPreUpdateInterceptor + Send + Sync>
fn ringbuffer_def_pre_update_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferDefPreUpdateInterceptor + Send + Sync>
Source§fn ringbuffer_def_post_update_interceptors(
&mut self,
) -> &mut Chain<dyn RingBufferDefPostUpdateInterceptor + Send + Sync>
fn ringbuffer_def_post_update_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferDefPostUpdateInterceptor + Send + Sync>
Source§fn ringbuffer_def_pre_delete_interceptors(
&mut self,
) -> &mut Chain<dyn RingBufferDefPreDeleteInterceptor + Send + Sync>
fn ringbuffer_def_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferDefPreDeleteInterceptor + Send + Sync>
impl CatalogTrackChangeOperations for AdminTransaction
impl TransactionalChanges for AdminTransaction
Auto Trait Implementations§
impl Freeze for AdminTransaction
impl !RefUnwindSafe for AdminTransaction
impl Send for AdminTransaction
impl Sync for AdminTransaction
impl Unpin for AdminTransaction
impl UnsafeUnpin for AdminTransaction
impl !UnwindSafe for AdminTransaction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more