pub struct DependencyVisitor<'a> {
catalog: &'a dyn SessionCatalog,
ids: BTreeMap<CatalogItemId, BTreeSet<GlobalId>>,
}
Fields§
§catalog: &'a dyn SessionCatalog
§ids: BTreeMap<CatalogItemId, BTreeSet<GlobalId>>
Implementations§
Source§impl<'a> DependencyVisitor<'a>
impl<'a> DependencyVisitor<'a>
pub fn new(catalog: &'a dyn SessionCatalog) -> Self
Trait Implementations§
Source§impl<'a> Debug for DependencyVisitor<'a>
impl<'a> Debug for DependencyVisitor<'a>
Source§impl<'a, 'ast> Visit<'ast, Aug> for DependencyVisitor<'a>
impl<'a, 'ast> Visit<'ast, Aug> for DependencyVisitor<'a>
fn visit_item_name(&mut self, item_name: &'ast <Aug as AstInfo>::ItemName)
fn visit_data_type(&mut self, data_type: &'ast <Aug as AstInfo>::DataType)
fn visit_abbreviated_grant_or_revoke_statement( &mut self, node: &'ast AbbreviatedGrantOrRevokeStatement<T>, )
fn visit_abbreviated_grant_statement( &mut self, node: &'ast AbbreviatedGrantStatement<T>, )
fn visit_abbreviated_revoke_statement( &mut self, node: &'ast AbbreviatedRevokeStatement<T>, )
fn visit_alter_cluster_action(&mut self, node: &'ast AlterClusterAction<T>)
fn visit_alter_cluster_statement( &mut self, node: &'ast AlterClusterStatement<T>, )
fn visit_alter_connection_action( &mut self, node: &'ast AlterConnectionAction<T>, )
fn visit_alter_connection_option( &mut self, node: &'ast AlterConnectionOption<T>, )
fn visit_alter_connection_option_name( &mut self, node: &'ast AlterConnectionOptionName, )
fn visit_alter_connection_statement( &mut self, node: &'ast AlterConnectionStatement<T>, )
fn visit_alter_default_privileges_statement( &mut self, node: &'ast AlterDefaultPrivilegesStatement<T>, )
fn visit_alter_index_action(&mut self, node: &'ast AlterIndexAction<T>)
fn visit_alter_index_statement(&mut self, node: &'ast AlterIndexStatement<T>)
fn visit_alter_network_policy_statement( &mut self, node: &'ast AlterNetworkPolicyStatement<T>, )
fn visit_alter_object_rename_statement( &mut self, node: &'ast AlterObjectRenameStatement, )
fn visit_alter_object_swap_statement( &mut self, node: &'ast AlterObjectSwapStatement, )
fn visit_alter_owner_statement(&mut self, node: &'ast AlterOwnerStatement<T>)
fn visit_alter_retain_history_statement( &mut self, node: &'ast AlterRetainHistoryStatement<T>, )
fn visit_alter_role_option(&mut self, node: &'ast AlterRoleOption)
fn visit_alter_role_statement(&mut self, node: &'ast AlterRoleStatement<T>)
fn visit_alter_secret_statement(&mut self, node: &'ast AlterSecretStatement<T>)
fn visit_alter_set_cluster_statement( &mut self, node: &'ast AlterSetClusterStatement<T>, )
fn visit_alter_sink_action(&mut self, node: &'ast AlterSinkAction<T>)
fn visit_alter_sink_statement(&mut self, node: &'ast AlterSinkStatement<T>)
fn visit_alter_source_action(&mut self, node: &'ast AlterSourceAction<T>)
fn visit_alter_source_add_subsource_option( &mut self, node: &'ast AlterSourceAddSubsourceOption<T>, )
fn visit_alter_source_add_subsource_option_name( &mut self, node: &'ast AlterSourceAddSubsourceOptionName, )
fn visit_alter_source_statement(&mut self, node: &'ast AlterSourceStatement<T>)
fn visit_alter_system_reset_all_statement( &mut self, node: &'ast AlterSystemResetAllStatement, )
fn visit_alter_system_reset_statement( &mut self, node: &'ast AlterSystemResetStatement, )
fn visit_alter_system_set_statement( &mut self, node: &'ast AlterSystemSetStatement, )
fn visit_alter_table_add_column_statement( &mut self, node: &'ast AlterTableAddColumnStatement<T>, )
fn visit_as_of(&mut self, node: &'ast AsOf<T>)
fn visit_assignment(&mut self, node: &'ast Assignment<T>)
fn visit_avro_doc_on(&mut self, node: &'ast AvroDocOn<T>)
fn visit_avro_schema(&mut self, node: &'ast AvroSchema<T>)
fn visit_avro_schema_option(&mut self, node: &'ast AvroSchemaOption<T>)
fn visit_avro_schema_option_name(&mut self, node: &'ast AvroSchemaOptionName)
fn visit_catalog_name(&mut self, node: &'ast CatalogName)
fn visit_close_statement(&mut self, node: &'ast CloseStatement)
fn visit_cluster_alter_option(&mut self, node: &'ast ClusterAlterOption<T>)
fn visit_cluster_alter_option_name( &mut self, node: &'ast ClusterAlterOptionName, )
fn visit_cluster_alter_option_value( &mut self, node: &'ast ClusterAlterOptionValue<T>, )
fn visit_cluster_alter_until_ready_option( &mut self, node: &'ast ClusterAlterUntilReadyOption<T>, )
fn visit_cluster_alter_until_ready_option_name( &mut self, node: &'ast ClusterAlterUntilReadyOptionName, )
fn visit_cluster_feature(&mut self, node: &'ast ClusterFeature<T>)
fn visit_cluster_feature_name(&mut self, node: &'ast ClusterFeatureName)
fn visit_cluster_option(&mut self, node: &'ast ClusterOption<T>)
fn visit_cluster_option_name(&mut self, node: &'ast ClusterOptionName)
fn visit_cluster_schedule_option_value( &mut self, node: &'ast ClusterScheduleOptionValue, )
fn visit_column_def(&mut self, node: &'ast ColumnDef<T>)
fn visit_column_name(&mut self, node: &'ast ColumnName<T>)
fn visit_column_option(&mut self, node: &'ast ColumnOption<T>)
fn visit_column_option_def(&mut self, node: &'ast ColumnOptionDef<T>)
fn visit_column_versioned(&mut self, node: &'ast ColumnVersioned)
fn visit_comment_object_type(&mut self, node: &'ast CommentObjectType<T>)
fn visit_comment_statement(&mut self, node: &'ast CommentStatement<T>)
fn visit_commit_statement(&mut self, node: &'ast CommitStatement)
fn visit_connection_default_aws_privatelink( &mut self, node: &'ast ConnectionDefaultAwsPrivatelink<T>, )
fn visit_connection_option(&mut self, node: &'ast ConnectionOption<T>)
fn visit_connection_option_name(&mut self, node: &'ast ConnectionOptionName)
fn visit_continual_task_option(&mut self, node: &'ast ContinualTaskOption<T>)
fn visit_continual_task_option_name( &mut self, node: &'ast ContinualTaskOptionName, )
fn visit_continual_task_stmt(&mut self, node: &'ast ContinualTaskStmt<T>)
fn visit_copy_direction(&mut self, node: &'ast CopyDirection)
fn visit_copy_option(&mut self, node: &'ast CopyOption<T>)
fn visit_copy_option_name(&mut self, node: &'ast CopyOptionName)
fn visit_copy_relation(&mut self, node: &'ast CopyRelation<T>)
fn visit_copy_statement(&mut self, node: &'ast CopyStatement<T>)
fn visit_copy_target(&mut self, node: &'ast CopyTarget<T>)
fn visit_create_cluster_replica_statement( &mut self, node: &'ast CreateClusterReplicaStatement<T>, )
fn visit_create_cluster_statement( &mut self, node: &'ast CreateClusterStatement<T>, )
fn visit_create_connection_option( &mut self, node: &'ast CreateConnectionOption<T>, )
fn visit_create_connection_option_name( &mut self, node: &'ast CreateConnectionOptionName, )
fn visit_create_connection_statement( &mut self, node: &'ast CreateConnectionStatement<T>, )
fn visit_create_connection_type(&mut self, node: &'ast CreateConnectionType)
fn visit_create_continual_task_statement( &mut self, node: &'ast CreateContinualTaskStatement<T>, )
fn visit_create_continual_task_sugar( &mut self, node: &'ast CreateContinualTaskSugar<T>, )
fn visit_create_database_statement( &mut self, node: &'ast CreateDatabaseStatement, )
fn visit_create_index_statement(&mut self, node: &'ast CreateIndexStatement<T>)
fn visit_create_materialized_view_statement( &mut self, node: &'ast CreateMaterializedViewStatement<T>, )
fn visit_create_network_policy_statement( &mut self, node: &'ast CreateNetworkPolicyStatement<T>, )
fn visit_create_role_statement(&mut self, node: &'ast CreateRoleStatement)
fn visit_create_schema_statement(&mut self, node: &'ast CreateSchemaStatement)
fn visit_create_secret_statement( &mut self, node: &'ast CreateSecretStatement<T>, )
fn visit_create_sink_connection(&mut self, node: &'ast CreateSinkConnection<T>)
fn visit_create_sink_option(&mut self, node: &'ast CreateSinkOption<T>)
fn visit_create_sink_option_name(&mut self, node: &'ast CreateSinkOptionName)
fn visit_create_sink_statement(&mut self, node: &'ast CreateSinkStatement<T>)
fn visit_create_source_connection( &mut self, node: &'ast CreateSourceConnection<T>, )
fn visit_create_source_option(&mut self, node: &'ast CreateSourceOption<T>)
fn visit_create_source_option_name( &mut self, node: &'ast CreateSourceOptionName, )
fn visit_create_source_statement( &mut self, node: &'ast CreateSourceStatement<T>, )
fn visit_create_subsource_option( &mut self, node: &'ast CreateSubsourceOption<T>, )
fn visit_create_subsource_option_name( &mut self, node: &'ast CreateSubsourceOptionName, )
fn visit_create_subsource_statement( &mut self, node: &'ast CreateSubsourceStatement<T>, )
fn visit_create_table_from_source_statement( &mut self, node: &'ast CreateTableFromSourceStatement<T>, )
fn visit_create_table_statement(&mut self, node: &'ast CreateTableStatement<T>)
fn visit_create_type_as(&mut self, node: &'ast CreateTypeAs<T>)
fn visit_create_type_list_option(&mut self, node: &'ast CreateTypeListOption<T>)
fn visit_create_type_list_option_name( &mut self, node: &'ast CreateTypeListOptionName, )
fn visit_create_type_map_option(&mut self, node: &'ast CreateTypeMapOption<T>)
fn visit_create_type_map_option_name( &mut self, node: &'ast CreateTypeMapOptionName, )
fn visit_create_type_statement(&mut self, node: &'ast CreateTypeStatement<T>)
fn visit_create_view_statement(&mut self, node: &'ast CreateViewStatement<T>)
fn visit_create_webhook_source_body( &mut self, node: &'ast CreateWebhookSourceBody, )
fn visit_create_webhook_source_check( &mut self, node: &'ast CreateWebhookSourceCheck<T>, )
fn visit_create_webhook_source_check_options( &mut self, node: &'ast CreateWebhookSourceCheckOptions<T>, )
fn visit_create_webhook_source_filter_header( &mut self, node: &'ast CreateWebhookSourceFilterHeader, )
fn visit_create_webhook_source_header( &mut self, node: &'ast CreateWebhookSourceHeader, )
fn visit_create_webhook_source_include_headers( &mut self, node: &'ast CreateWebhookSourceIncludeHeaders, )
fn visit_create_webhook_source_map_header( &mut self, node: &'ast CreateWebhookSourceMapHeader, )
fn visit_create_webhook_source_secret( &mut self, node: &'ast CreateWebhookSourceSecret<T>, )
fn visit_create_webhook_source_statement( &mut self, node: &'ast CreateWebhookSourceStatement<T>, )
fn visit_csr_config_option(&mut self, node: &'ast CsrConfigOption<T>)
fn visit_csr_config_option_name(&mut self, node: &'ast CsrConfigOptionName<T>)
fn visit_csr_connection(&mut self, node: &'ast CsrConnection<T>)
fn visit_csr_connection_avro(&mut self, node: &'ast CsrConnectionAvro<T>)
fn visit_csr_connection_protobuf( &mut self, node: &'ast CsrConnectionProtobuf<T>, )
fn visit_csr_seed_avro(&mut self, node: &'ast CsrSeedAvro)
fn visit_csr_seed_protobuf(&mut self, node: &'ast CsrSeedProtobuf)
fn visit_csr_seed_protobuf_schema(&mut self, node: &'ast CsrSeedProtobufSchema)
fn visit_csv_columns(&mut self, node: &'ast CsvColumns)
fn visit_cte(&mut self, node: &'ast Cte<T>)
fn visit_cte_block(&mut self, node: &'ast CteBlock<T>)
fn visit_cte_mut_rec(&mut self, node: &'ast CteMutRec<T>)
fn visit_cte_mut_rec_column_def(&mut self, node: &'ast CteMutRecColumnDef<T>)
fn visit_date_time_field(&mut self, node: &'ast DateTimeField)
fn visit_deallocate_statement(&mut self, node: &'ast DeallocateStatement)
fn visit_declare_statement(&mut self, node: &'ast DeclareStatement<T>)
fn visit_deferred_item_name(&mut self, node: &'ast DeferredItemName<T>)
fn visit_delete_statement(&mut self, node: &'ast DeleteStatement<T>)
fn visit_discard_statement(&mut self, node: &'ast DiscardStatement)
fn visit_discard_target(&mut self, node: &'ast DiscardTarget)
fn visit_distinct(&mut self, node: &'ast Distinct<T>)
fn visit_doc_on_identifier(&mut self, node: &'ast DocOnIdentifier<T>)
fn visit_doc_on_schema(&mut self, node: &'ast DocOnSchema)
fn visit_drop_objects_statement(&mut self, node: &'ast DropObjectsStatement)
fn visit_drop_owned_statement(&mut self, node: &'ast DropOwnedStatement<T>)
fn visit_execute_statement(&mut self, node: &'ast ExecuteStatement<T>)
fn visit_explain_format(&mut self, node: &'ast ExplainFormat)
fn visit_explain_plan_option(&mut self, node: &'ast ExplainPlanOption<T>)
fn visit_explain_plan_option_name(&mut self, node: &'ast ExplainPlanOptionName)
fn visit_explain_plan_statement(&mut self, node: &'ast ExplainPlanStatement<T>)
fn visit_explain_pushdown_statement( &mut self, node: &'ast ExplainPushdownStatement<T>, )
fn visit_explain_sink_schema_for(&mut self, node: &'ast ExplainSinkSchemaFor)
fn visit_explain_sink_schema_statement( &mut self, node: &'ast ExplainSinkSchemaStatement<T>, )
fn visit_explain_stage(&mut self, node: &'ast ExplainStage)
fn visit_explain_timestamp_statement( &mut self, node: &'ast ExplainTimestampStatement<T>, )
fn visit_explainee(&mut self, node: &'ast Explainee<T>)
fn visit_expr(&mut self, node: &'ast Expr<T>)
fn visit_external_reference_export( &mut self, node: &'ast ExternalReferenceExport, )
fn visit_external_references(&mut self, node: &'ast ExternalReferences)
fn visit_fetch_direction(&mut self, node: &'ast FetchDirection)
fn visit_fetch_option(&mut self, node: &'ast FetchOption<T>)
fn visit_fetch_option_name(&mut self, node: &'ast FetchOptionName)
fn visit_fetch_statement(&mut self, node: &'ast FetchStatement<T>)
fn visit_format(&mut self, node: &'ast Format<T>)
fn visit_format_specifier(&mut self, node: &'ast FormatSpecifier<T>)
fn visit_function(&mut self, node: &'ast Function<T>)
fn visit_function_args(&mut self, node: &'ast FunctionArgs<T>)
fn visit_grant_privileges_statement( &mut self, node: &'ast GrantPrivilegesStatement<T>, )
fn visit_grant_role_statement(&mut self, node: &'ast GrantRoleStatement<T>)
fn visit_grant_target_all_specification( &mut self, node: &'ast GrantTargetAllSpecification<T>, )
fn visit_grant_target_specification( &mut self, node: &'ast GrantTargetSpecification<T>, )
fn visit_grant_target_specification_inner( &mut self, node: &'ast GrantTargetSpecificationInner<T>, )
fn visit_homogenizing_function(&mut self, node: &'ast HomogenizingFunction)
fn visit_ident(&mut self, node: &'ast Ident)
fn visit_ident_error(&mut self, node: &'ast IdentError)
fn visit_if_exists_behavior(&mut self, node: &'ast IfExistsBehavior)
fn visit_index_option(&mut self, node: &'ast IndexOption<T>)
fn visit_index_option_name(&mut self, node: &'ast IndexOptionName)
fn visit_insert_source(&mut self, node: &'ast InsertSource<T>)
fn visit_insert_statement(&mut self, node: &'ast InsertStatement<T>)
fn visit_inspect_shard_statement(&mut self, node: &'ast InspectShardStatement)
fn visit_interval_value(&mut self, node: &'ast IntervalValue)
fn visit_is_expr_construct(&mut self, node: &'ast IsExprConstruct<T>)
fn visit_join(&mut self, node: &'ast Join<T>)
fn visit_join_constraint(&mut self, node: &'ast JoinConstraint<T>)
fn visit_join_operator(&mut self, node: &'ast JoinOperator<T>)
fn visit_kafka_broker(&mut self, node: &'ast KafkaBroker<T>)
fn visit_kafka_broker_aws_privatelink( &mut self, node: &'ast KafkaBrokerAwsPrivatelink<T>, )
fn visit_kafka_broker_aws_privatelink_option( &mut self, node: &'ast KafkaBrokerAwsPrivatelinkOption<T>, )
fn visit_kafka_broker_aws_privatelink_option_name( &mut self, node: &'ast KafkaBrokerAwsPrivatelinkOptionName, )
fn visit_kafka_broker_tunnel(&mut self, node: &'ast KafkaBrokerTunnel<T>)
fn visit_kafka_sink_config_option( &mut self, node: &'ast KafkaSinkConfigOption<T>, )
fn visit_kafka_sink_config_option_name( &mut self, node: &'ast KafkaSinkConfigOptionName, )
fn visit_kafka_sink_key(&mut self, node: &'ast KafkaSinkKey)
fn visit_kafka_source_config_option( &mut self, node: &'ast KafkaSourceConfigOption<T>, )
fn visit_kafka_source_config_option_name( &mut self, node: &'ast KafkaSourceConfigOptionName, )
fn visit_key_constraint(&mut self, node: &'ast KeyConstraint)
fn visit_limit(&mut self, node: &'ast Limit<T>)
fn visit_load_generator(&mut self, node: &'ast LoadGenerator)
fn visit_load_generator_option(&mut self, node: &'ast LoadGeneratorOption<T>)
fn visit_load_generator_option_name( &mut self, node: &'ast LoadGeneratorOptionName, )
fn visit_map_entry(&mut self, node: &'ast MapEntry<T>)
fn visit_materialized_view_option( &mut self, node: &'ast MaterializedViewOption<T>, )
fn visit_materialized_view_option_name( &mut self, node: &'ast MaterializedViewOptionName, )
fn visit_mut_rec_block(&mut self, node: &'ast MutRecBlock<T>)
fn visit_mut_rec_block_option(&mut self, node: &'ast MutRecBlockOption<T>)
fn visit_mut_rec_block_option_name(&mut self, node: &'ast MutRecBlockOptionName)
fn visit_my_sql_config_option(&mut self, node: &'ast MySqlConfigOption<T>)
fn visit_my_sql_config_option_name(&mut self, node: &'ast MySqlConfigOptionName)
fn visit_named_plan(&mut self, node: &'ast NamedPlan)
fn visit_network_policy_option(&mut self, node: &'ast NetworkPolicyOption<T>)
fn visit_network_policy_option_name( &mut self, node: &'ast NetworkPolicyOptionName, )
fn visit_network_policy_rule_definition( &mut self, node: &'ast NetworkPolicyRuleDefinition<T>, )
fn visit_network_policy_rule_option( &mut self, node: &'ast NetworkPolicyRuleOption<T>, )
fn visit_network_policy_rule_option_name( &mut self, node: &'ast NetworkPolicyRuleOptionName, )
fn visit_notice_severity(&mut self, node: &'ast NoticeSeverity)
fn visit_object_type(&mut self, node: &'ast ObjectType)
fn visit_op(&mut self, node: &'ast Op)
fn visit_order_by_expr(&mut self, node: &'ast OrderByExpr<T>)
fn visit_pg_config_option(&mut self, node: &'ast PgConfigOption<T>)
fn visit_pg_config_option_name(&mut self, node: &'ast PgConfigOptionName)
fn visit_prepare_statement(&mut self, node: &'ast PrepareStatement<T>)
fn visit_privilege(&mut self, node: &'ast Privilege)
fn visit_privilege_specification(&mut self, node: &'ast PrivilegeSpecification)
fn visit_protobuf_schema(&mut self, node: &'ast ProtobufSchema<T>)
fn visit_qualified_replica(&mut self, node: &'ast QualifiedReplica)
fn visit_query(&mut self, node: &'ast Query<T>)
fn visit_raise_statement(&mut self, node: &'ast RaiseStatement)
fn visit_reader_schema_selection_strategy( &mut self, node: &'ast ReaderSchemaSelectionStrategy, )
fn visit_reassign_owned_statement( &mut self, node: &'ast ReassignOwnedStatement<T>, )
fn visit_refresh_at_option_value(&mut self, node: &'ast RefreshAtOptionValue<T>)
fn visit_refresh_every_option_value( &mut self, node: &'ast RefreshEveryOptionValue<T>, )
fn visit_refresh_option_value(&mut self, node: &'ast RefreshOptionValue<T>)
fn visit_replica_definition(&mut self, node: &'ast ReplicaDefinition<T>)
fn visit_replica_option(&mut self, node: &'ast ReplicaOption<T>)
fn visit_replica_option_name(&mut self, node: &'ast ReplicaOptionName)
fn visit_reset_variable_statement(&mut self, node: &'ast ResetVariableStatement)
fn visit_revoke_privileges_statement( &mut self, node: &'ast RevokePrivilegesStatement<T>, )
fn visit_revoke_role_statement(&mut self, node: &'ast RevokeRoleStatement<T>)
fn visit_role_attribute(&mut self, node: &'ast RoleAttribute)
fn visit_rollback_statement(&mut self, node: &'ast RollbackStatement)
fn visit_schema(&mut self, node: &'ast Schema)
fn visit_select(&mut self, node: &'ast Select<T>)
fn visit_select_item(&mut self, node: &'ast SelectItem<T>)
fn visit_select_option(&mut self, node: &'ast SelectOption<T>)
fn visit_select_option_name(&mut self, node: &'ast SelectOptionName)
fn visit_select_statement(&mut self, node: &'ast SelectStatement<T>)
fn visit_set_expr(&mut self, node: &'ast SetExpr<T>)
fn visit_set_operator(&mut self, node: &'ast SetOperator)
fn visit_set_role_var(&mut self, node: &'ast SetRoleVar)
fn visit_set_transaction_statement( &mut self, node: &'ast SetTransactionStatement, )
fn visit_set_variable_statement(&mut self, node: &'ast SetVariableStatement)
fn visit_set_variable_to(&mut self, node: &'ast SetVariableTo)
fn visit_set_variable_value(&mut self, node: &'ast SetVariableValue)
fn visit_show_columns_statement(&mut self, node: &'ast ShowColumnsStatement<T>)
fn visit_show_create_cluster_statement( &mut self, node: &'ast ShowCreateClusterStatement<T>, )
fn visit_show_create_connection_statement( &mut self, node: &'ast ShowCreateConnectionStatement<T>, )
fn visit_show_create_index_statement( &mut self, node: &'ast ShowCreateIndexStatement<T>, )
fn visit_show_create_materialized_view_statement( &mut self, node: &'ast ShowCreateMaterializedViewStatement<T>, )
fn visit_show_create_sink_statement( &mut self, node: &'ast ShowCreateSinkStatement<T>, )
fn visit_show_create_source_statement( &mut self, node: &'ast ShowCreateSourceStatement<T>, )
fn visit_show_create_table_statement( &mut self, node: &'ast ShowCreateTableStatement<T>, )
fn visit_show_create_view_statement( &mut self, node: &'ast ShowCreateViewStatement<T>, )
fn visit_show_object_type(&mut self, node: &'ast ShowObjectType<T>)
fn visit_show_objects_statement(&mut self, node: &'ast ShowObjectsStatement<T>)
fn visit_show_statement(&mut self, node: &'ast ShowStatement<T>)
fn visit_show_statement_filter(&mut self, node: &'ast ShowStatementFilter<T>)
fn visit_show_variable_statement(&mut self, node: &'ast ShowVariableStatement)
fn visit_sink_envelope(&mut self, node: &'ast SinkEnvelope)
fn visit_source_envelope(&mut self, node: &'ast SourceEnvelope)
fn visit_source_error_policy(&mut self, node: &'ast SourceErrorPolicy)
fn visit_source_include_metadata(&mut self, node: &'ast SourceIncludeMetadata)
fn visit_sql_server_config_option( &mut self, node: &'ast SqlServerConfigOption<T>, )
fn visit_sql_server_config_option_name( &mut self, node: &'ast SqlServerConfigOptionName, )
fn visit_start_transaction_statement( &mut self, node: &'ast StartTransactionStatement, )
fn visit_statement(&mut self, node: &'ast Statement<T>)
fn visit_subscribe_option(&mut self, node: &'ast SubscribeOption<T>)
fn visit_subscribe_option_name(&mut self, node: &'ast SubscribeOptionName)
fn visit_subscribe_output(&mut self, node: &'ast SubscribeOutput<T>)
fn visit_subscribe_relation(&mut self, node: &'ast SubscribeRelation<T>)
fn visit_subscribe_statement(&mut self, node: &'ast SubscribeStatement<T>)
fn visit_subscript_position(&mut self, node: &'ast SubscriptPosition<T>)
fn visit_system_object_type(&mut self, node: &'ast SystemObjectType)
fn visit_cluster_name(&mut self, node: &'ast <T as AstInfo>::ClusterName)
fn visit_column_reference( &mut self, node: &'ast <T as AstInfo>::ColumnReference, )
fn visit_cte_id(&mut self, node: &'ast <T as AstInfo>::CteId)
fn visit_database_name(&mut self, node: &'ast <T as AstInfo>::DatabaseName)
fn visit_nested_statement( &mut self, node: &'ast <T as AstInfo>::NestedStatement, )
fn visit_network_policy_name( &mut self, node: &'ast <T as AstInfo>::NetworkPolicyName, )
fn visit_object_name(&mut self, node: &'ast <T as AstInfo>::ObjectName)
fn visit_role_name(&mut self, node: &'ast <T as AstInfo>::RoleName)
fn visit_schema_name(&mut self, node: &'ast <T as AstInfo>::SchemaName)
fn visit_table_alias(&mut self, node: &'ast TableAlias)
fn visit_table_constraint(&mut self, node: &'ast TableConstraint<T>)
fn visit_table_factor(&mut self, node: &'ast TableFactor<T>)
fn visit_table_from_source_columns( &mut self, node: &'ast TableFromSourceColumns<T>, )
fn visit_table_from_source_option( &mut self, node: &'ast TableFromSourceOption<T>, )
fn visit_table_from_source_option_name( &mut self, node: &'ast TableFromSourceOptionName, )
fn visit_table_option(&mut self, node: &'ast TableOption<T>)
fn visit_table_option_name(&mut self, node: &'ast TableOptionName)
fn visit_table_with_joins(&mut self, node: &'ast TableWithJoins<T>)
fn visit_target_role_specification( &mut self, node: &'ast TargetRoleSpecification<T>, )
fn visit_transaction_access_mode(&mut self, node: &'ast TransactionAccessMode)
fn visit_transaction_isolation_level( &mut self, node: &'ast TransactionIsolationLevel, )
fn visit_transaction_mode(&mut self, node: &'ast TransactionMode)
fn visit_unresolved_database_name(&mut self, node: &'ast UnresolvedDatabaseName)
fn visit_unresolved_item_name(&mut self, node: &'ast UnresolvedItemName)
fn visit_unresolved_object_name(&mut self, node: &'ast UnresolvedObjectName)
fn visit_unresolved_schema_name(&mut self, node: &'ast UnresolvedSchemaName)
fn visit_update_statement(&mut self, node: &'ast UpdateStatement<T>)
fn visit_validate_connection_statement( &mut self, node: &'ast ValidateConnectionStatement<T>, )
fn visit_value(&mut self, node: &'ast Value)
fn visit_value_error(&mut self, node: &'ast ValueError)
fn visit_values(&mut self, node: &'ast Values<T>)
fn visit_version(&mut self, node: &'ast Version)
fn visit_view_definition(&mut self, node: &'ast ViewDefinition<T>)
fn visit_window_frame(&mut self, node: &'ast WindowFrame)
fn visit_window_frame_bound(&mut self, node: &'ast WindowFrameBound)
fn visit_window_frame_units(&mut self, node: &'ast WindowFrameUnits)
fn visit_window_spec(&mut self, node: &'ast WindowSpec<T>)
fn visit_with_option_value(&mut self, node: &'ast WithOptionValue<T>)
Auto Trait Implementations§
impl<'a> Freeze for DependencyVisitor<'a>
impl<'a> !RefUnwindSafe for DependencyVisitor<'a>
impl<'a> Send for DependencyVisitor<'a>
impl<'a> Sync for DependencyVisitor<'a>
impl<'a> Unpin for DependencyVisitor<'a>
impl<'a> !UnwindSafe for DependencyVisitor<'a>
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> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self
to use its Display
implementation when
Debug
-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self
to use its LowerExp
implementation when
Debug
-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self
to use its LowerHex
implementation when
Debug
-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self
to use its Pointer
implementation when
Debug
-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self
to use its UpperExp
implementation when
Debug
-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self
to use its UpperHex
implementation when
Debug
-formatted.Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
Source§impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
Source§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);
Source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self
, then passes self.as_ref()
into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self
, then passes self.as_mut()
into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self
, then passes self.deref()
into the pipe function.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
Source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
RustType::from_proto
.Source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
RustType::into_proto
.Source§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
Source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
std::ops::AddAssign
, for types that do not implement AddAssign
.Source§impl<T> ServiceExt for T
impl<T> ServiceExt for T
Source§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Source§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
Source§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B>
of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B>
of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R>
view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R>
view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target
of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target
of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow()
only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref()
only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut()
only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref()
only in debug builds, and is erased in release
builds.