Skip to main content

AdminTransaction

Struct AdminTransaction 

Source
pub struct AdminTransaction {
    pub multi: MultiTransaction,
    pub single: SingleTransaction,
    pub cmd: Option<MultiWriteTransaction>,
    pub event_bus: EventBus,
    pub changes: TransactionalCatalogChanges,
    pub interceptors: Interceptors,
    pub identity: IdentityId,
    /* 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 (shape changes), DML (data mutations), and queries. It tracks catalog definition changes (TransactionalCatalogChanges) 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: TransactionalCatalogChanges§interceptors: Interceptors§identity: IdentityId

The identity executing this transaction.

Implementations§

Source§

impl AdminTransaction

Source

pub fn new( multi: MultiTransaction, single: SingleTransaction, event_bus: EventBus, interceptors: Interceptors, identity: IdentityId, clock: Clock, ) -> Result<Self>

Creates a new active admin transaction with a pre-commit callback

Source

pub fn set_executor(&mut self, executor: Arc<dyn RqlExecutor>)

Set the RQL executor for this transaction.

Source

pub fn rql(&mut self, rql: &str, params: Params) -> ExecutionResult

Execute RQL within this transaction using the attached executor.

Panics if no RqlExecutor has been set on this transaction.

Source

pub fn event_bus(&self) -> &EventBus

Source

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.

Source

pub fn rollback(&mut self) -> Result<()>

Rollback the transaction.

Source

pub fn pending_writes(&self) -> &PendingWrites

Get access to the pending writes in this transaction

Source

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.

Source

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.

Source

pub fn with_multi_query<F, R>(&self, f: F) -> Result<R>
where F: FnOnce(&mut QueryTransaction) -> Result<R>,

Execute a function with a query transaction view.

Source

pub fn with_multi_query_as_of_exclusive<F, R>( &self, version: CommitVersion, f: F, ) -> Result<R>
where F: FnOnce(&mut QueryTransaction) -> Result<R>,

Source

pub fn with_multi_query_as_of_inclusive<F, R>( &self, version: CommitVersion, f: F, ) -> Result<R>
where F: FnOnce(&mut QueryTransaction) -> Result<R>,

Source

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

Source

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

Source

pub fn get_changes(&self) -> &TransactionalCatalogChanges

Get reference to catalog changes for this transaction

Source

pub fn track_row_change(&mut self, change: RowChange)

Track a row change for post-commit event emission

Source

pub fn track_flow_change(&mut self, change: Change)

Track a flow change for transactional view pre-commit processing.

Source

pub fn version(&self) -> CommitVersion

Get the transaction version

Source

pub fn id(&self) -> TransactionId

Get the transaction ID

Source

pub fn get(&mut self, key: &EncodedKey) -> Result<Option<MultiVersionRow>>

Get a value by key

Source

pub fn get_committed( &mut self, key: &EncodedKey, ) -> Result<Option<MultiVersionRow>>

Read the committed value at the transaction’s read version, ignoring pending intra-tx writes.

Source

pub fn contains_key(&mut self, key: &EncodedKey) -> Result<bool>

Check if a key exists

Source

pub fn prefix(&mut self, prefix: &EncodedKey) -> Result<MultiVersionBatch>

Get a prefix batch

Source

pub fn prefix_rev(&mut self, prefix: &EncodedKey) -> Result<MultiVersionBatch>

Get a reverse prefix batch

Source

pub fn read_as_of_version_exclusive( &mut self, version: CommitVersion, ) -> Result<()>

Read as of version exclusive

Source

pub fn set(&mut self, key: &EncodedKey, row: EncodedRow) -> Result<()>

Set a key-value pair

Source

pub fn unset(&mut self, key: &EncodedKey, row: EncodedRow) -> Result<()>

Unset a key, preserving the deleted values.

Source

pub fn remove(&mut self, key: &EncodedKey) -> Result<()>

Remove a key without preserving the deleted values.

Source

pub fn mark_preexisting(&mut self, key: &EncodedKey) -> Result<()>

Source

pub fn range( &mut self, range: EncodedKeyRange, batch_size: usize, ) -> Result<Box<dyn Iterator<Item = Result<MultiVersionRow>> + Send + '_>>

Create a streaming iterator for forward range queries.

Source

pub fn range_rev( &mut self, range: EncodedKeyRange, batch_size: usize, ) -> Result<Box<dyn Iterator<Item = Result<MultiVersionRow>> + Send + '_>>

Create a streaming iterator for reverse range queries.

Trait Implementations§

Source§

impl CatalogTrackAuthenticationChangeOperations for AdminTransaction

Source§

impl CatalogTrackBindingChangeOperations for AdminTransaction

Source§

fn track_binding_created(&mut self, binding: Binding) -> Result<()>

Source§

fn track_binding_deleted(&mut self, binding: Binding) -> Result<()>

Source§

impl CatalogTrackConfigChangeOperations for AdminTransaction

Source§

fn track_config_set(&mut self, pre: Config, post: Config) -> Result<()>

Source§

impl CatalogTrackDictionaryChangeOperations for AdminTransaction

Source§

impl CatalogTrackFlowChangeOperations for AdminTransaction

Source§

fn track_flow_created(&mut self, flow: Flow) -> Result<()>

Source§

fn track_flow_updated(&mut self, pre: Flow, post: Flow) -> Result<()>

Source§

fn track_flow_deleted(&mut self, flow: Flow) -> Result<()>

Source§

impl CatalogTrackGrantedRoleChangeOperations for AdminTransaction

Source§

fn track_granted_role_created( &mut self, granted_role: GrantedRole, ) -> Result<()>

Source§

fn track_granted_role_deleted( &mut self, granted_role: GrantedRole, ) -> Result<()>

Source§

impl CatalogTrackHandlerChangeOperations for AdminTransaction

Source§

fn track_handler_created(&mut self, handler: Handler) -> Result<()>

Source§

fn track_handler_deleted(&mut self, handler: Handler) -> Result<()>

Source§

impl CatalogTrackIdentityChangeOperations for AdminTransaction

Source§

fn track_identity_created(&mut self, identity: Identity) -> Result<()>

Source§

fn track_identity_updated( &mut self, pre: Identity, post: Identity, ) -> Result<()>

Source§

fn track_identity_deleted(&mut self, identity: Identity) -> Result<()>

Source§

impl CatalogTrackMigrationChangeOperations for AdminTransaction

Source§

fn track_migration_created(&mut self, migration: Migration) -> Result<()>

Source§

fn track_migration_deleted(&mut self, migration: Migration) -> Result<()>

Source§

impl CatalogTrackMigrationEventChangeOperations for AdminTransaction

Source§

impl CatalogTrackNamespaceChangeOperations for AdminTransaction

Source§

fn track_namespace_created(&mut self, namespace: Namespace) -> Result<()>

Source§

fn track_namespace_updated( &mut self, pre: Namespace, post: Namespace, ) -> Result<()>

Source§

fn track_namespace_deleted(&mut self, namespace: Namespace) -> Result<()>

Source§

impl CatalogTrackPolicyChangeOperations for AdminTransaction

Source§

fn track_policy_created(&mut self, policy: Policy) -> Result<()>

Source§

fn track_policy_updated(&mut self, pre: Policy, post: Policy) -> Result<()>

Source§

fn track_policy_deleted(&mut self, policy: Policy) -> Result<()>

Source§

impl CatalogTrackProcedureChangeOperations for AdminTransaction

Source§

fn track_procedure_created(&mut self, procedure: Procedure) -> Result<()>

Source§

fn track_procedure_updated( &mut self, pre: Procedure, post: Procedure, ) -> Result<()>

Source§

fn track_procedure_deleted(&mut self, procedure: Procedure) -> Result<()>

Source§

impl CatalogTrackRingBufferChangeOperations for AdminTransaction

Source§

impl CatalogTrackRoleChangeOperations for AdminTransaction

Source§

fn track_role_created(&mut self, role: Role) -> Result<()>

Source§

fn track_role_updated(&mut self, pre: Role, post: Role) -> Result<()>

Source§

fn track_role_deleted(&mut self, role: Role) -> Result<()>

Source§

impl CatalogTrackRowTtlChangeOperations for AdminTransaction

Source§

fn track_row_ttl_created(&mut self, shape: ShapeId, ttl: RowTtl) -> Result<()>

Source§

fn track_row_ttl_updated( &mut self, shape: ShapeId, pre: RowTtl, post: RowTtl, ) -> Result<()>

Source§

fn track_row_ttl_deleted(&mut self, shape: ShapeId, ttl: RowTtl) -> Result<()>

Source§

impl CatalogTrackSeriesChangeOperations for AdminTransaction

Source§

fn track_series_created(&mut self, series: Series) -> Result<()>

Source§

fn track_series_updated(&mut self, pre: Series, post: Series) -> Result<()>

Source§

fn track_series_deleted(&mut self, series: Series) -> Result<()>

Source§

impl CatalogTrackSinkChangeOperations for AdminTransaction

Source§

fn track_sink_created(&mut self, sink: Sink) -> Result<()>

Source§

fn track_sink_deleted(&mut self, sink: Sink) -> Result<()>

Source§

impl CatalogTrackSourceChangeOperations for AdminTransaction

Source§

fn track_source_created(&mut self, source: Source) -> Result<()>

Source§

fn track_source_deleted(&mut self, source: Source) -> Result<()>

Source§

impl CatalogTrackSumTypeChangeOperations for AdminTransaction

Source§

fn track_sumtype_created(&mut self, sumtype: SumType) -> Result<()>

Source§

fn track_sumtype_updated(&mut self, pre: SumType, post: SumType) -> Result<()>

Source§

fn track_sumtype_deleted(&mut self, sumtype: SumType) -> Result<()>

Source§

impl CatalogTrackTableChangeOperations for AdminTransaction

Source§

fn track_table_created(&mut self, table: Table) -> Result<()>

Source§

fn track_table_updated(&mut self, pre: Table, post: Table) -> Result<()>

Source§

fn track_table_deleted(&mut self, table: Table) -> Result<()>

Source§

impl CatalogTrackTestChangeOperations for AdminTransaction

Source§

fn track_test_created(&mut self, test: Test) -> Result<()>

Source§

fn track_test_deleted(&mut self, test: Test) -> Result<()>

Source§

impl CatalogTrackViewChangeOperations for AdminTransaction

Source§

fn track_view_created(&mut self, view: View) -> Result<()>

Source§

fn track_view_updated(&mut self, pre: View, post: View) -> Result<()>

Source§

fn track_view_deleted(&mut self, view: View) -> Result<()>

Source§

impl Drop for AdminTransaction

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

impl<'a> From<&'a mut AdminTransaction> for Transaction<'a>

Source§

fn from(txn: &'a mut AdminTransaction) -> Self

Converts to this type from the input type.
Source§

impl TransactionalAuthenticationChanges for AdminTransaction

Source§

impl TransactionalBindingChanges for AdminTransaction

Source§

impl TransactionalConfigChanges for AdminTransaction

Source§

impl TransactionalDictionaryChanges for AdminTransaction

Source§

impl TransactionalFlowChanges for AdminTransaction

Source§

fn find_flow(&self, id: FlowId) -> Option<&Flow>

Source§

fn find_flow_by_name(&self, namespace: NamespaceId, name: &str) -> Option<&Flow>

Source§

fn is_flow_deleted(&self, id: FlowId) -> bool

Source§

fn is_flow_deleted_by_name(&self, namespace: NamespaceId, name: &str) -> bool

Source§

impl TransactionalGrantedRoleChanges for AdminTransaction

Source§

impl TransactionalHandlerChanges for AdminTransaction

Source§

impl TransactionalIdentityChanges for AdminTransaction

Source§

impl TransactionalMigrationChanges for AdminTransaction

Source§

impl TransactionalNamespaceChanges for AdminTransaction

Source§

impl TransactionalPolicyChanges for AdminTransaction

Source§

impl TransactionalProcedureChanges for AdminTransaction

Source§

impl TransactionalRingBufferChanges for AdminTransaction

Source§

impl TransactionalRoleChanges for AdminTransaction

Source§

impl TransactionalRowTtlChanges for AdminTransaction

Source§

impl TransactionalSeriesChanges for AdminTransaction

Source§

fn find_series(&self, id: SeriesId) -> Option<&Series>

Source§

fn find_series_by_name( &self, namespace: NamespaceId, name: &str, ) -> Option<&Series>

Source§

fn is_series_deleted(&self, id: SeriesId) -> bool

Source§

fn is_series_deleted_by_name(&self, namespace: NamespaceId, name: &str) -> bool

Source§

impl TransactionalSinkChanges for AdminTransaction

Source§

fn find_sink(&self, id: SinkId) -> Option<&Sink>

Source§

fn find_sink_by_name(&self, namespace: NamespaceId, name: &str) -> Option<&Sink>

Source§

fn is_sink_deleted(&self, id: SinkId) -> bool

Source§

fn is_sink_deleted_by_name(&self, namespace: NamespaceId, name: &str) -> bool

Source§

impl TransactionalSourceChanges for AdminTransaction

Source§

fn find_source(&self, id: SourceId) -> Option<&Source>

Source§

fn find_source_by_name( &self, namespace: NamespaceId, name: &str, ) -> Option<&Source>

Source§

fn is_source_deleted(&self, id: SourceId) -> bool

Source§

fn is_source_deleted_by_name(&self, namespace: NamespaceId, name: &str) -> bool

Source§

impl TransactionalSumTypeChanges for AdminTransaction

Source§

impl TransactionalTableChanges for AdminTransaction

Source§

fn find_table(&self, id: TableId) -> Option<&Table>

Source§

fn find_table_by_name( &self, namespace: NamespaceId, name: &str, ) -> Option<&Table>

Source§

fn is_table_deleted(&self, id: TableId) -> bool

Source§

fn is_table_deleted_by_name(&self, namespace: NamespaceId, name: &str) -> bool

Source§

impl TransactionalTestChanges for AdminTransaction

Source§

fn find_test(&self, id: TestId) -> Option<&Test>

Source§

fn find_test_by_name(&self, namespace: NamespaceId, name: &str) -> Option<&Test>

Source§

fn is_test_deleted(&self, id: TestId) -> bool

Source§

fn is_test_deleted_by_name(&self, namespace: NamespaceId, name: &str) -> bool

Source§

impl TransactionalViewChanges for AdminTransaction

Source§

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

Source§

fn find_view_by_name(&self, namespace: NamespaceId, name: &str) -> Option<&View>

Source§

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

Source§

fn is_view_deleted_by_name(&self, namespace: NamespaceId, name: &str) -> bool

Source§

impl WithEventBus for AdminTransaction

Source§

impl WithInterceptors for AdminTransaction

Source§

fn table_row_pre_insert_interceptors( &mut self, ) -> &mut Chain<dyn TableRowPreInsertInterceptor + Send + Sync>

Source§

fn table_row_post_insert_interceptors( &mut self, ) -> &mut Chain<dyn TableRowPostInsertInterceptor + Send + Sync>

Source§

fn table_row_pre_update_interceptors( &mut self, ) -> &mut Chain<dyn TableRowPreUpdateInterceptor + Send + Sync>

Source§

fn table_row_post_update_interceptors( &mut self, ) -> &mut Chain<dyn TableRowPostUpdateInterceptor + Send + Sync>

Source§

fn table_row_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn TableRowPreDeleteInterceptor + Send + Sync>

Source§

fn table_row_post_delete_interceptors( &mut self, ) -> &mut Chain<dyn TableRowPostDeleteInterceptor + Send + Sync>

Source§

fn ringbuffer_row_pre_insert_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferRowPreInsertInterceptor + Send + Sync>

Source§

fn ringbuffer_row_post_insert_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferRowPostInsertInterceptor + Send + Sync>

Source§

fn ringbuffer_row_pre_update_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferRowPreUpdateInterceptor + Send + Sync>

Source§

fn ringbuffer_row_post_update_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferRowPostUpdateInterceptor + Send + Sync>

Source§

fn ringbuffer_row_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferRowPreDeleteInterceptor + Send + Sync>

Source§

fn ringbuffer_row_post_delete_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferRowPostDeleteInterceptor + Send + Sync>

Source§

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>

Source§

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>

Source§

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>

Source§

fn table_post_create_interceptors( &mut self, ) -> &mut Chain<dyn TablePostCreateInterceptor + Send + Sync>

Source§

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>

Source§

fn table_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn TablePreDeleteInterceptor + Send + Sync>

Source§

fn view_row_pre_insert_interceptors( &mut self, ) -> &mut Chain<dyn ViewRowPreInsertInterceptor + Send + Sync>

Source§

fn view_row_post_insert_interceptors( &mut self, ) -> &mut Chain<dyn ViewRowPostInsertInterceptor + Send + Sync>

Source§

fn view_row_pre_update_interceptors( &mut self, ) -> &mut Chain<dyn ViewRowPreUpdateInterceptor + Send + Sync>

Source§

fn view_row_post_update_interceptors( &mut self, ) -> &mut Chain<dyn ViewRowPostUpdateInterceptor + Send + Sync>

Source§

fn view_row_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn ViewRowPreDeleteInterceptor + Send + Sync>

Source§

fn view_row_post_delete_interceptors( &mut self, ) -> &mut Chain<dyn ViewRowPostDeleteInterceptor + Send + Sync>

Source§

fn view_post_create_interceptors( &mut self, ) -> &mut Chain<dyn ViewPostCreateInterceptor + Send + Sync>

Source§

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>

Source§

fn view_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn ViewPreDeleteInterceptor + Send + Sync>

Source§

fn ringbuffer_post_create_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferPostCreateInterceptor + Send + Sync>

Source§

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>

Source§

fn ringbuffer_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn RingBufferPreDeleteInterceptor + Send + Sync>

Source§

fn dictionary_row_pre_insert_interceptors( &mut self, ) -> &mut Chain<dyn DictionaryRowPreInsertInterceptor + Send + Sync>

Source§

fn dictionary_row_post_insert_interceptors( &mut self, ) -> &mut Chain<dyn DictionaryRowPostInsertInterceptor + Send + Sync>

Source§

fn dictionary_row_pre_update_interceptors( &mut self, ) -> &mut Chain<dyn DictionaryRowPreUpdateInterceptor + Send + Sync>

Source§

fn dictionary_row_post_update_interceptors( &mut self, ) -> &mut Chain<dyn DictionaryRowPostUpdateInterceptor + Send + Sync>

Source§

fn dictionary_row_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn DictionaryRowPreDeleteInterceptor + Send + Sync>

Source§

fn dictionary_row_post_delete_interceptors( &mut self, ) -> &mut Chain<dyn DictionaryRowPostDeleteInterceptor + Send + Sync>

Source§

fn dictionary_post_create_interceptors( &mut self, ) -> &mut Chain<dyn DictionaryPostCreateInterceptor + Send + Sync>

Source§

fn dictionary_pre_update_interceptors( &mut self, ) -> &mut Chain<dyn DictionaryPreUpdateInterceptor + Send + Sync>

Source§

fn dictionary_post_update_interceptors( &mut self, ) -> &mut Chain<dyn DictionaryPostUpdateInterceptor + Send + Sync>

Source§

fn dictionary_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn DictionaryPreDeleteInterceptor + Send + Sync>

Source§

fn series_row_pre_insert_interceptors( &mut self, ) -> &mut Chain<dyn SeriesRowPreInsertInterceptor + Send + Sync>

Source§

fn series_row_post_insert_interceptors( &mut self, ) -> &mut Chain<dyn SeriesRowPostInsertInterceptor + Send + Sync>

Source§

fn series_row_pre_update_interceptors( &mut self, ) -> &mut Chain<dyn SeriesRowPreUpdateInterceptor + Send + Sync>

Source§

fn series_row_post_update_interceptors( &mut self, ) -> &mut Chain<dyn SeriesRowPostUpdateInterceptor + Send + Sync>

Source§

fn series_row_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn SeriesRowPreDeleteInterceptor + Send + Sync>

Source§

fn series_row_post_delete_interceptors( &mut self, ) -> &mut Chain<dyn SeriesRowPostDeleteInterceptor + Send + Sync>

Source§

fn series_post_create_interceptors( &mut self, ) -> &mut Chain<dyn SeriesPostCreateInterceptor + Send + Sync>

Source§

fn series_pre_update_interceptors( &mut self, ) -> &mut Chain<dyn SeriesPreUpdateInterceptor + Send + Sync>

Source§

fn series_post_update_interceptors( &mut self, ) -> &mut Chain<dyn SeriesPostUpdateInterceptor + Send + Sync>

Source§

fn series_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn SeriesPreDeleteInterceptor + Send + Sync>

Source§

fn identity_post_create_interceptors( &mut self, ) -> &mut Chain<dyn IdentityPostCreateInterceptor + Send + Sync>

Source§

fn identity_pre_update_interceptors( &mut self, ) -> &mut Chain<dyn IdentityPreUpdateInterceptor + Send + Sync>

Source§

fn identity_post_update_interceptors( &mut self, ) -> &mut Chain<dyn IdentityPostUpdateInterceptor + Send + Sync>

Source§

fn identity_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn IdentityPreDeleteInterceptor + Send + Sync>

Source§

fn role_post_create_interceptors( &mut self, ) -> &mut Chain<dyn RolePostCreateInterceptor + Send + Sync>

Source§

fn role_pre_update_interceptors( &mut self, ) -> &mut Chain<dyn RolePreUpdateInterceptor + Send + Sync>

Source§

fn role_post_update_interceptors( &mut self, ) -> &mut Chain<dyn RolePostUpdateInterceptor + Send + Sync>

Source§

fn role_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn RolePreDeleteInterceptor + Send + Sync>

Source§

fn granted_role_post_create_interceptors( &mut self, ) -> &mut Chain<dyn GrantedRolePostCreateInterceptor + Send + Sync>

Source§

fn granted_role_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn GrantedRolePreDeleteInterceptor + Send + Sync>

Source§

fn authentication_post_create_interceptors( &mut self, ) -> &mut Chain<dyn AuthenticationPostCreateInterceptor + Send + Sync>

Source§

fn authentication_pre_delete_interceptors( &mut self, ) -> &mut Chain<dyn AuthenticationPreDeleteInterceptor + Send + Sync>

Source§

impl Write for AdminTransaction

Source§

fn set(&mut self, key: &EncodedKey, row: EncodedRow) -> Result<()>

Source§

fn unset(&mut self, key: &EncodedKey, row: EncodedRow) -> Result<()>

Source§

fn remove(&mut self, key: &EncodedKey) -> Result<()>

Source§

fn mark_preexisting(&mut self, key: &EncodedKey) -> Result<()>

Source§

fn track_row_change(&mut self, change: RowChange)

Replicas implement this as a no-op (no CDC).
Source§

fn track_flow_change(&mut self, change: Change)

Replicas implement this as a no-op (no transactional view processing).
Source§

impl CatalogTrackChangeOperations for AdminTransaction

Source§

impl TransactionalChanges for AdminTransaction

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more