Struct DependencyVisitor

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

Source

pub fn new(catalog: &'a dyn SessionCatalog) -> Self

Trait Implementations§

Source§

impl<'a> Debug for DependencyVisitor<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a, 'ast> Visit<'ast, Aug> for DependencyVisitor<'a>

Source§

fn visit_item_name(&mut self, item_name: &'ast <Aug as AstInfo>::ItemName)

Source§

fn visit_data_type(&mut self, data_type: &'ast <Aug as AstInfo>::DataType)

Source§

fn visit_abbreviated_grant_or_revoke_statement( &mut self, node: &'ast AbbreviatedGrantOrRevokeStatement<T>, )

Source§

fn visit_abbreviated_grant_statement( &mut self, node: &'ast AbbreviatedGrantStatement<T>, )

Source§

fn visit_abbreviated_revoke_statement( &mut self, node: &'ast AbbreviatedRevokeStatement<T>, )

Source§

fn visit_alter_cluster_action(&mut self, node: &'ast AlterClusterAction<T>)

Source§

fn visit_alter_cluster_statement( &mut self, node: &'ast AlterClusterStatement<T>, )

Source§

fn visit_alter_connection_action( &mut self, node: &'ast AlterConnectionAction<T>, )

Source§

fn visit_alter_connection_option( &mut self, node: &'ast AlterConnectionOption<T>, )

Source§

fn visit_alter_connection_option_name( &mut self, node: &'ast AlterConnectionOptionName, )

Source§

fn visit_alter_connection_statement( &mut self, node: &'ast AlterConnectionStatement<T>, )

Source§

fn visit_alter_default_privileges_statement( &mut self, node: &'ast AlterDefaultPrivilegesStatement<T>, )

Source§

fn visit_alter_index_action(&mut self, node: &'ast AlterIndexAction<T>)

Source§

fn visit_alter_index_statement(&mut self, node: &'ast AlterIndexStatement<T>)

Source§

fn visit_alter_network_policy_statement( &mut self, node: &'ast AlterNetworkPolicyStatement<T>, )

Source§

fn visit_alter_object_rename_statement( &mut self, node: &'ast AlterObjectRenameStatement, )

Source§

fn visit_alter_object_swap_statement( &mut self, node: &'ast AlterObjectSwapStatement, )

Source§

fn visit_alter_owner_statement(&mut self, node: &'ast AlterOwnerStatement<T>)

Source§

fn visit_alter_retain_history_statement( &mut self, node: &'ast AlterRetainHistoryStatement<T>, )

Source§

fn visit_alter_role_option(&mut self, node: &'ast AlterRoleOption)

Source§

fn visit_alter_role_statement(&mut self, node: &'ast AlterRoleStatement<T>)

Source§

fn visit_alter_secret_statement(&mut self, node: &'ast AlterSecretStatement<T>)

Source§

fn visit_alter_set_cluster_statement( &mut self, node: &'ast AlterSetClusterStatement<T>, )

Source§

fn visit_alter_sink_action(&mut self, node: &'ast AlterSinkAction<T>)

Source§

fn visit_alter_sink_statement(&mut self, node: &'ast AlterSinkStatement<T>)

Source§

fn visit_alter_source_action(&mut self, node: &'ast AlterSourceAction<T>)

Source§

fn visit_alter_source_add_subsource_option( &mut self, node: &'ast AlterSourceAddSubsourceOption<T>, )

Source§

fn visit_alter_source_add_subsource_option_name( &mut self, node: &'ast AlterSourceAddSubsourceOptionName, )

Source§

fn visit_alter_source_statement(&mut self, node: &'ast AlterSourceStatement<T>)

Source§

fn visit_alter_system_reset_all_statement( &mut self, node: &'ast AlterSystemResetAllStatement, )

Source§

fn visit_alter_system_reset_statement( &mut self, node: &'ast AlterSystemResetStatement, )

Source§

fn visit_alter_system_set_statement( &mut self, node: &'ast AlterSystemSetStatement, )

Source§

fn visit_alter_table_add_column_statement( &mut self, node: &'ast AlterTableAddColumnStatement<T>, )

Source§

fn visit_as_of(&mut self, node: &'ast AsOf<T>)

Source§

fn visit_assignment(&mut self, node: &'ast Assignment<T>)

Source§

fn visit_avro_doc_on(&mut self, node: &'ast AvroDocOn<T>)

Source§

fn visit_avro_schema(&mut self, node: &'ast AvroSchema<T>)

Source§

fn visit_avro_schema_option(&mut self, node: &'ast AvroSchemaOption<T>)

Source§

fn visit_avro_schema_option_name(&mut self, node: &'ast AvroSchemaOptionName)

Source§

fn visit_catalog_name(&mut self, node: &'ast CatalogName)

Source§

fn visit_close_statement(&mut self, node: &'ast CloseStatement)

Source§

fn visit_cluster_alter_option(&mut self, node: &'ast ClusterAlterOption<T>)

Source§

fn visit_cluster_alter_option_name( &mut self, node: &'ast ClusterAlterOptionName, )

Source§

fn visit_cluster_alter_option_value( &mut self, node: &'ast ClusterAlterOptionValue<T>, )

Source§

fn visit_cluster_alter_until_ready_option( &mut self, node: &'ast ClusterAlterUntilReadyOption<T>, )

Source§

fn visit_cluster_alter_until_ready_option_name( &mut self, node: &'ast ClusterAlterUntilReadyOptionName, )

Source§

fn visit_cluster_feature(&mut self, node: &'ast ClusterFeature<T>)

Source§

fn visit_cluster_feature_name(&mut self, node: &'ast ClusterFeatureName)

Source§

fn visit_cluster_option(&mut self, node: &'ast ClusterOption<T>)

Source§

fn visit_cluster_option_name(&mut self, node: &'ast ClusterOptionName)

Source§

fn visit_cluster_schedule_option_value( &mut self, node: &'ast ClusterScheduleOptionValue, )

Source§

fn visit_column_def(&mut self, node: &'ast ColumnDef<T>)

Source§

fn visit_column_name(&mut self, node: &'ast ColumnName<T>)

Source§

fn visit_column_option(&mut self, node: &'ast ColumnOption<T>)

Source§

fn visit_column_option_def(&mut self, node: &'ast ColumnOptionDef<T>)

Source§

fn visit_column_versioned(&mut self, node: &'ast ColumnVersioned)

Source§

fn visit_comment_object_type(&mut self, node: &'ast CommentObjectType<T>)

Source§

fn visit_comment_statement(&mut self, node: &'ast CommentStatement<T>)

Source§

fn visit_commit_statement(&mut self, node: &'ast CommitStatement)

Source§

fn visit_connection_option(&mut self, node: &'ast ConnectionOption<T>)

Source§

fn visit_connection_option_name(&mut self, node: &'ast ConnectionOptionName)

Source§

fn visit_continual_task_option(&mut self, node: &'ast ContinualTaskOption<T>)

Source§

fn visit_continual_task_option_name( &mut self, node: &'ast ContinualTaskOptionName, )

Source§

fn visit_continual_task_stmt(&mut self, node: &'ast ContinualTaskStmt<T>)

Source§

fn visit_copy_direction(&mut self, node: &'ast CopyDirection)

Source§

fn visit_copy_option(&mut self, node: &'ast CopyOption<T>)

Source§

fn visit_copy_option_name(&mut self, node: &'ast CopyOptionName)

Source§

fn visit_copy_relation(&mut self, node: &'ast CopyRelation<T>)

Source§

fn visit_copy_statement(&mut self, node: &'ast CopyStatement<T>)

Source§

fn visit_copy_target(&mut self, node: &'ast CopyTarget<T>)

Source§

fn visit_create_cluster_replica_statement( &mut self, node: &'ast CreateClusterReplicaStatement<T>, )

Source§

fn visit_create_cluster_statement( &mut self, node: &'ast CreateClusterStatement<T>, )

Source§

fn visit_create_connection_option( &mut self, node: &'ast CreateConnectionOption<T>, )

Source§

fn visit_create_connection_option_name( &mut self, node: &'ast CreateConnectionOptionName, )

Source§

fn visit_create_connection_statement( &mut self, node: &'ast CreateConnectionStatement<T>, )

Source§

fn visit_create_connection_type(&mut self, node: &'ast CreateConnectionType)

Source§

fn visit_create_continual_task_statement( &mut self, node: &'ast CreateContinualTaskStatement<T>, )

Source§

fn visit_create_continual_task_sugar( &mut self, node: &'ast CreateContinualTaskSugar<T>, )

Source§

fn visit_create_database_statement( &mut self, node: &'ast CreateDatabaseStatement, )

Source§

fn visit_create_index_statement(&mut self, node: &'ast CreateIndexStatement<T>)

Source§

fn visit_create_materialized_view_statement( &mut self, node: &'ast CreateMaterializedViewStatement<T>, )

Source§

fn visit_create_network_policy_statement( &mut self, node: &'ast CreateNetworkPolicyStatement<T>, )

Source§

fn visit_create_role_statement(&mut self, node: &'ast CreateRoleStatement)

Source§

fn visit_create_schema_statement(&mut self, node: &'ast CreateSchemaStatement)

Source§

fn visit_create_secret_statement( &mut self, node: &'ast CreateSecretStatement<T>, )

Source§

fn visit_create_sink_connection(&mut self, node: &'ast CreateSinkConnection<T>)

Source§

fn visit_create_sink_option(&mut self, node: &'ast CreateSinkOption<T>)

Source§

fn visit_create_sink_option_name(&mut self, node: &'ast CreateSinkOptionName)

Source§

fn visit_create_sink_statement(&mut self, node: &'ast CreateSinkStatement<T>)

Source§

fn visit_create_source_connection( &mut self, node: &'ast CreateSourceConnection<T>, )

Source§

fn visit_create_source_option(&mut self, node: &'ast CreateSourceOption<T>)

Source§

fn visit_create_source_option_name( &mut self, node: &'ast CreateSourceOptionName, )

Source§

fn visit_create_source_statement( &mut self, node: &'ast CreateSourceStatement<T>, )

Source§

fn visit_create_subsource_option( &mut self, node: &'ast CreateSubsourceOption<T>, )

Source§

fn visit_create_subsource_option_name( &mut self, node: &'ast CreateSubsourceOptionName, )

Source§

fn visit_create_subsource_statement( &mut self, node: &'ast CreateSubsourceStatement<T>, )

Source§

fn visit_create_table_from_source_statement( &mut self, node: &'ast CreateTableFromSourceStatement<T>, )

Source§

fn visit_create_table_statement(&mut self, node: &'ast CreateTableStatement<T>)

Source§

fn visit_create_type_as(&mut self, node: &'ast CreateTypeAs<T>)

Source§

fn visit_create_type_list_option(&mut self, node: &'ast CreateTypeListOption<T>)

Source§

fn visit_create_type_list_option_name( &mut self, node: &'ast CreateTypeListOptionName, )

Source§

fn visit_create_type_map_option(&mut self, node: &'ast CreateTypeMapOption<T>)

Source§

fn visit_create_type_map_option_name( &mut self, node: &'ast CreateTypeMapOptionName, )

Source§

fn visit_create_type_statement(&mut self, node: &'ast CreateTypeStatement<T>)

Source§

fn visit_create_view_statement(&mut self, node: &'ast CreateViewStatement<T>)

Source§

fn visit_create_webhook_source_body( &mut self, node: &'ast CreateWebhookSourceBody, )

Source§

fn visit_create_webhook_source_check( &mut self, node: &'ast CreateWebhookSourceCheck<T>, )

Source§

fn visit_create_webhook_source_check_options( &mut self, node: &'ast CreateWebhookSourceCheckOptions<T>, )

Source§

fn visit_create_webhook_source_filter_header( &mut self, node: &'ast CreateWebhookSourceFilterHeader, )

Source§

fn visit_create_webhook_source_header( &mut self, node: &'ast CreateWebhookSourceHeader, )

Source§

fn visit_create_webhook_source_include_headers( &mut self, node: &'ast CreateWebhookSourceIncludeHeaders, )

Source§

fn visit_create_webhook_source_map_header( &mut self, node: &'ast CreateWebhookSourceMapHeader, )

Source§

fn visit_create_webhook_source_secret( &mut self, node: &'ast CreateWebhookSourceSecret<T>, )

Source§

fn visit_create_webhook_source_statement( &mut self, node: &'ast CreateWebhookSourceStatement<T>, )

Source§

fn visit_csr_config_option(&mut self, node: &'ast CsrConfigOption<T>)

Source§

fn visit_csr_config_option_name(&mut self, node: &'ast CsrConfigOptionName<T>)

Source§

fn visit_csr_connection(&mut self, node: &'ast CsrConnection<T>)

Source§

fn visit_csr_connection_avro(&mut self, node: &'ast CsrConnectionAvro<T>)

Source§

fn visit_csr_connection_protobuf( &mut self, node: &'ast CsrConnectionProtobuf<T>, )

Source§

fn visit_csr_seed_avro(&mut self, node: &'ast CsrSeedAvro)

Source§

fn visit_csr_seed_protobuf(&mut self, node: &'ast CsrSeedProtobuf)

Source§

fn visit_csr_seed_protobuf_schema(&mut self, node: &'ast CsrSeedProtobufSchema)

Source§

fn visit_csv_columns(&mut self, node: &'ast CsvColumns)

Source§

fn visit_cte(&mut self, node: &'ast Cte<T>)

Source§

fn visit_cte_block(&mut self, node: &'ast CteBlock<T>)

Source§

fn visit_cte_mut_rec(&mut self, node: &'ast CteMutRec<T>)

Source§

fn visit_cte_mut_rec_column_def(&mut self, node: &'ast CteMutRecColumnDef<T>)

Source§

fn visit_date_time_field(&mut self, node: &'ast DateTimeField)

Source§

fn visit_deallocate_statement(&mut self, node: &'ast DeallocateStatement)

Source§

fn visit_declare_statement(&mut self, node: &'ast DeclareStatement<T>)

Source§

fn visit_deferred_item_name(&mut self, node: &'ast DeferredItemName<T>)

Source§

fn visit_delete_statement(&mut self, node: &'ast DeleteStatement<T>)

Source§

fn visit_discard_statement(&mut self, node: &'ast DiscardStatement)

Source§

fn visit_discard_target(&mut self, node: &'ast DiscardTarget)

Source§

fn visit_distinct(&mut self, node: &'ast Distinct<T>)

Source§

fn visit_doc_on_identifier(&mut self, node: &'ast DocOnIdentifier<T>)

Source§

fn visit_doc_on_schema(&mut self, node: &'ast DocOnSchema)

Source§

fn visit_drop_objects_statement(&mut self, node: &'ast DropObjectsStatement)

Source§

fn visit_drop_owned_statement(&mut self, node: &'ast DropOwnedStatement<T>)

Source§

fn visit_execute_statement(&mut self, node: &'ast ExecuteStatement<T>)

Source§

fn visit_explain_format(&mut self, node: &'ast ExplainFormat)

Source§

fn visit_explain_plan_option(&mut self, node: &'ast ExplainPlanOption<T>)

Source§

fn visit_explain_plan_option_name(&mut self, node: &'ast ExplainPlanOptionName)

Source§

fn visit_explain_plan_statement(&mut self, node: &'ast ExplainPlanStatement<T>)

Source§

fn visit_explain_pushdown_statement( &mut self, node: &'ast ExplainPushdownStatement<T>, )

Source§

fn visit_explain_sink_schema_for(&mut self, node: &'ast ExplainSinkSchemaFor)

Source§

fn visit_explain_sink_schema_statement( &mut self, node: &'ast ExplainSinkSchemaStatement<T>, )

Source§

fn visit_explain_stage(&mut self, node: &'ast ExplainStage)

Source§

fn visit_explain_timestamp_statement( &mut self, node: &'ast ExplainTimestampStatement<T>, )

Source§

fn visit_explainee(&mut self, node: &'ast Explainee<T>)

Source§

fn visit_expr(&mut self, node: &'ast Expr<T>)

Source§

fn visit_external_reference_export( &mut self, node: &'ast ExternalReferenceExport, )

Source§

fn visit_external_references(&mut self, node: &'ast ExternalReferences)

Source§

fn visit_fetch_direction(&mut self, node: &'ast FetchDirection)

Source§

fn visit_fetch_option(&mut self, node: &'ast FetchOption<T>)

Source§

fn visit_fetch_option_name(&mut self, node: &'ast FetchOptionName)

Source§

fn visit_fetch_statement(&mut self, node: &'ast FetchStatement<T>)

Source§

fn visit_format(&mut self, node: &'ast Format<T>)

Source§

fn visit_format_specifier(&mut self, node: &'ast FormatSpecifier<T>)

Source§

fn visit_function(&mut self, node: &'ast Function<T>)

Source§

fn visit_function_args(&mut self, node: &'ast FunctionArgs<T>)

Source§

fn visit_grant_privileges_statement( &mut self, node: &'ast GrantPrivilegesStatement<T>, )

Source§

fn visit_grant_role_statement(&mut self, node: &'ast GrantRoleStatement<T>)

Source§

fn visit_grant_target_all_specification( &mut self, node: &'ast GrantTargetAllSpecification<T>, )

Source§

fn visit_grant_target_specification( &mut self, node: &'ast GrantTargetSpecification<T>, )

Source§

fn visit_grant_target_specification_inner( &mut self, node: &'ast GrantTargetSpecificationInner<T>, )

Source§

fn visit_homogenizing_function(&mut self, node: &'ast HomogenizingFunction)

Source§

fn visit_ident(&mut self, node: &'ast Ident)

Source§

fn visit_ident_error(&mut self, node: &'ast IdentError)

Source§

fn visit_if_exists_behavior(&mut self, node: &'ast IfExistsBehavior)

Source§

fn visit_index_option(&mut self, node: &'ast IndexOption<T>)

Source§

fn visit_index_option_name(&mut self, node: &'ast IndexOptionName)

Source§

fn visit_insert_source(&mut self, node: &'ast InsertSource<T>)

Source§

fn visit_insert_statement(&mut self, node: &'ast InsertStatement<T>)

Source§

fn visit_inspect_shard_statement(&mut self, node: &'ast InspectShardStatement)

Source§

fn visit_interval_value(&mut self, node: &'ast IntervalValue)

Source§

fn visit_is_expr_construct(&mut self, node: &'ast IsExprConstruct<T>)

Source§

fn visit_join(&mut self, node: &'ast Join<T>)

Source§

fn visit_join_constraint(&mut self, node: &'ast JoinConstraint<T>)

Source§

fn visit_join_operator(&mut self, node: &'ast JoinOperator<T>)

Source§

fn visit_kafka_broker(&mut self, node: &'ast KafkaBroker<T>)

Source§

fn visit_kafka_broker_tunnel(&mut self, node: &'ast KafkaBrokerTunnel<T>)

Source§

fn visit_kafka_sink_config_option( &mut self, node: &'ast KafkaSinkConfigOption<T>, )

Source§

fn visit_kafka_sink_config_option_name( &mut self, node: &'ast KafkaSinkConfigOptionName, )

Source§

fn visit_kafka_sink_key(&mut self, node: &'ast KafkaSinkKey)

Source§

fn visit_kafka_source_config_option( &mut self, node: &'ast KafkaSourceConfigOption<T>, )

Source§

fn visit_kafka_source_config_option_name( &mut self, node: &'ast KafkaSourceConfigOptionName, )

Source§

fn visit_key_constraint(&mut self, node: &'ast KeyConstraint)

Source§

fn visit_limit(&mut self, node: &'ast Limit<T>)

Source§

fn visit_load_generator(&mut self, node: &'ast LoadGenerator)

Source§

fn visit_load_generator_option(&mut self, node: &'ast LoadGeneratorOption<T>)

Source§

fn visit_load_generator_option_name( &mut self, node: &'ast LoadGeneratorOptionName, )

Source§

fn visit_map_entry(&mut self, node: &'ast MapEntry<T>)

Source§

fn visit_materialized_view_option( &mut self, node: &'ast MaterializedViewOption<T>, )

Source§

fn visit_materialized_view_option_name( &mut self, node: &'ast MaterializedViewOptionName, )

Source§

fn visit_mut_rec_block(&mut self, node: &'ast MutRecBlock<T>)

Source§

fn visit_mut_rec_block_option(&mut self, node: &'ast MutRecBlockOption<T>)

Source§

fn visit_mut_rec_block_option_name(&mut self, node: &'ast MutRecBlockOptionName)

Source§

fn visit_my_sql_config_option(&mut self, node: &'ast MySqlConfigOption<T>)

Source§

fn visit_my_sql_config_option_name(&mut self, node: &'ast MySqlConfigOptionName)

Source§

fn visit_named_plan(&mut self, node: &'ast NamedPlan)

Source§

fn visit_network_policy_option(&mut self, node: &'ast NetworkPolicyOption<T>)

Source§

fn visit_network_policy_option_name( &mut self, node: &'ast NetworkPolicyOptionName, )

Source§

fn visit_network_policy_rule_definition( &mut self, node: &'ast NetworkPolicyRuleDefinition<T>, )

Source§

fn visit_network_policy_rule_option( &mut self, node: &'ast NetworkPolicyRuleOption<T>, )

Source§

fn visit_network_policy_rule_option_name( &mut self, node: &'ast NetworkPolicyRuleOptionName, )

Source§

fn visit_notice_severity(&mut self, node: &'ast NoticeSeverity)

Source§

fn visit_object_type(&mut self, node: &'ast ObjectType)

Source§

fn visit_op(&mut self, node: &'ast Op)

Source§

fn visit_order_by_expr(&mut self, node: &'ast OrderByExpr<T>)

Source§

fn visit_pg_config_option(&mut self, node: &'ast PgConfigOption<T>)

Source§

fn visit_pg_config_option_name(&mut self, node: &'ast PgConfigOptionName)

Source§

fn visit_prepare_statement(&mut self, node: &'ast PrepareStatement<T>)

Source§

fn visit_privilege(&mut self, node: &'ast Privilege)

Source§

fn visit_privilege_specification(&mut self, node: &'ast PrivilegeSpecification)

Source§

fn visit_protobuf_schema(&mut self, node: &'ast ProtobufSchema<T>)

Source§

fn visit_qualified_replica(&mut self, node: &'ast QualifiedReplica)

Source§

fn visit_query(&mut self, node: &'ast Query<T>)

Source§

fn visit_raise_statement(&mut self, node: &'ast RaiseStatement)

Source§

fn visit_reader_schema_selection_strategy( &mut self, node: &'ast ReaderSchemaSelectionStrategy, )

Source§

fn visit_reassign_owned_statement( &mut self, node: &'ast ReassignOwnedStatement<T>, )

Source§

fn visit_refresh_at_option_value(&mut self, node: &'ast RefreshAtOptionValue<T>)

Source§

fn visit_refresh_every_option_value( &mut self, node: &'ast RefreshEveryOptionValue<T>, )

Source§

fn visit_refresh_option_value(&mut self, node: &'ast RefreshOptionValue<T>)

Source§

fn visit_replica_definition(&mut self, node: &'ast ReplicaDefinition<T>)

Source§

fn visit_replica_option(&mut self, node: &'ast ReplicaOption<T>)

Source§

fn visit_replica_option_name(&mut self, node: &'ast ReplicaOptionName)

Source§

fn visit_reset_variable_statement(&mut self, node: &'ast ResetVariableStatement)

Source§

fn visit_revoke_privileges_statement( &mut self, node: &'ast RevokePrivilegesStatement<T>, )

Source§

fn visit_revoke_role_statement(&mut self, node: &'ast RevokeRoleStatement<T>)

Source§

fn visit_role_attribute(&mut self, node: &'ast RoleAttribute)

Source§

fn visit_rollback_statement(&mut self, node: &'ast RollbackStatement)

Source§

fn visit_schema(&mut self, node: &'ast Schema)

Source§

fn visit_select(&mut self, node: &'ast Select<T>)

Source§

fn visit_select_item(&mut self, node: &'ast SelectItem<T>)

Source§

fn visit_select_option(&mut self, node: &'ast SelectOption<T>)

Source§

fn visit_select_option_name(&mut self, node: &'ast SelectOptionName)

Source§

fn visit_select_statement(&mut self, node: &'ast SelectStatement<T>)

Source§

fn visit_set_expr(&mut self, node: &'ast SetExpr<T>)

Source§

fn visit_set_operator(&mut self, node: &'ast SetOperator)

Source§

fn visit_set_role_var(&mut self, node: &'ast SetRoleVar)

Source§

fn visit_set_transaction_statement( &mut self, node: &'ast SetTransactionStatement, )

Source§

fn visit_set_variable_statement(&mut self, node: &'ast SetVariableStatement)

Source§

fn visit_set_variable_to(&mut self, node: &'ast SetVariableTo)

Source§

fn visit_set_variable_value(&mut self, node: &'ast SetVariableValue)

Source§

fn visit_show_columns_statement(&mut self, node: &'ast ShowColumnsStatement<T>)

Source§

fn visit_show_create_cluster_statement( &mut self, node: &'ast ShowCreateClusterStatement<T>, )

Source§

fn visit_show_create_connection_statement( &mut self, node: &'ast ShowCreateConnectionStatement<T>, )

Source§

fn visit_show_create_index_statement( &mut self, node: &'ast ShowCreateIndexStatement<T>, )

Source§

fn visit_show_create_materialized_view_statement( &mut self, node: &'ast ShowCreateMaterializedViewStatement<T>, )

Source§

fn visit_show_create_sink_statement( &mut self, node: &'ast ShowCreateSinkStatement<T>, )

Source§

fn visit_show_create_source_statement( &mut self, node: &'ast ShowCreateSourceStatement<T>, )

Source§

fn visit_show_create_table_statement( &mut self, node: &'ast ShowCreateTableStatement<T>, )

Source§

fn visit_show_create_view_statement( &mut self, node: &'ast ShowCreateViewStatement<T>, )

Source§

fn visit_show_object_type(&mut self, node: &'ast ShowObjectType<T>)

Source§

fn visit_show_objects_statement(&mut self, node: &'ast ShowObjectsStatement<T>)

Source§

fn visit_show_statement(&mut self, node: &'ast ShowStatement<T>)

Source§

fn visit_show_statement_filter(&mut self, node: &'ast ShowStatementFilter<T>)

Source§

fn visit_show_variable_statement(&mut self, node: &'ast ShowVariableStatement)

Source§

fn visit_sink_envelope(&mut self, node: &'ast SinkEnvelope)

Source§

fn visit_source_envelope(&mut self, node: &'ast SourceEnvelope)

Source§

fn visit_source_error_policy(&mut self, node: &'ast SourceErrorPolicy)

Source§

fn visit_source_include_metadata(&mut self, node: &'ast SourceIncludeMetadata)

Source§

fn visit_sql_server_config_option( &mut self, node: &'ast SqlServerConfigOption<T>, )

Source§

fn visit_sql_server_config_option_name( &mut self, node: &'ast SqlServerConfigOptionName, )

Source§

fn visit_start_transaction_statement( &mut self, node: &'ast StartTransactionStatement, )

Source§

fn visit_statement(&mut self, node: &'ast Statement<T>)

Source§

fn visit_subscribe_option(&mut self, node: &'ast SubscribeOption<T>)

Source§

fn visit_subscribe_option_name(&mut self, node: &'ast SubscribeOptionName)

Source§

fn visit_subscribe_output(&mut self, node: &'ast SubscribeOutput<T>)

Source§

fn visit_subscribe_relation(&mut self, node: &'ast SubscribeRelation<T>)

Source§

fn visit_subscribe_statement(&mut self, node: &'ast SubscribeStatement<T>)

Source§

fn visit_subscript_position(&mut self, node: &'ast SubscriptPosition<T>)

Source§

fn visit_system_object_type(&mut self, node: &'ast SystemObjectType)

Source§

fn visit_cluster_name(&mut self, node: &'ast <T as AstInfo>::ClusterName)

Source§

fn visit_column_reference( &mut self, node: &'ast <T as AstInfo>::ColumnReference, )

Source§

fn visit_cte_id(&mut self, node: &'ast <T as AstInfo>::CteId)

Source§

fn visit_database_name(&mut self, node: &'ast <T as AstInfo>::DatabaseName)

Source§

fn visit_nested_statement( &mut self, node: &'ast <T as AstInfo>::NestedStatement, )

Source§

fn visit_network_policy_name( &mut self, node: &'ast <T as AstInfo>::NetworkPolicyName, )

Source§

fn visit_object_name(&mut self, node: &'ast <T as AstInfo>::ObjectName)

Source§

fn visit_role_name(&mut self, node: &'ast <T as AstInfo>::RoleName)

Source§

fn visit_schema_name(&mut self, node: &'ast <T as AstInfo>::SchemaName)

Source§

fn visit_table_alias(&mut self, node: &'ast TableAlias)

Source§

fn visit_table_constraint(&mut self, node: &'ast TableConstraint<T>)

Source§

fn visit_table_factor(&mut self, node: &'ast TableFactor<T>)

Source§

fn visit_table_from_source_columns( &mut self, node: &'ast TableFromSourceColumns<T>, )

Source§

fn visit_table_from_source_option( &mut self, node: &'ast TableFromSourceOption<T>, )

Source§

fn visit_table_from_source_option_name( &mut self, node: &'ast TableFromSourceOptionName, )

Source§

fn visit_table_option(&mut self, node: &'ast TableOption<T>)

Source§

fn visit_table_option_name(&mut self, node: &'ast TableOptionName)

Source§

fn visit_table_with_joins(&mut self, node: &'ast TableWithJoins<T>)

Source§

fn visit_target_role_specification( &mut self, node: &'ast TargetRoleSpecification<T>, )

Source§

fn visit_transaction_access_mode(&mut self, node: &'ast TransactionAccessMode)

Source§

fn visit_transaction_isolation_level( &mut self, node: &'ast TransactionIsolationLevel, )

Source§

fn visit_transaction_mode(&mut self, node: &'ast TransactionMode)

Source§

fn visit_unresolved_database_name(&mut self, node: &'ast UnresolvedDatabaseName)

Source§

fn visit_unresolved_item_name(&mut self, node: &'ast UnresolvedItemName)

Source§

fn visit_unresolved_object_name(&mut self, node: &'ast UnresolvedObjectName)

Source§

fn visit_unresolved_schema_name(&mut self, node: &'ast UnresolvedSchemaName)

Source§

fn visit_update_statement(&mut self, node: &'ast UpdateStatement<T>)

Source§

fn visit_validate_connection_statement( &mut self, node: &'ast ValidateConnectionStatement<T>, )

Source§

fn visit_value(&mut self, node: &'ast Value)

Source§

fn visit_value_error(&mut self, node: &'ast ValueError)

Source§

fn visit_values(&mut self, node: &'ast Values<T>)

Source§

fn visit_version(&mut self, node: &'ast Version)

Source§

fn visit_view_definition(&mut self, node: &'ast ViewDefinition<T>)

Source§

fn visit_window_frame(&mut self, node: &'ast WindowFrame)

Source§

fn visit_window_frame_bound(&mut self, node: &'ast WindowFrameBound)

Source§

fn visit_window_frame_units(&mut self, node: &'ast WindowFrameUnits)

Source§

fn visit_window_spec(&mut self, node: &'ast WindowSpec<T>)

Source§

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> AsAny for T
where T: Any,

Source§

fn as_any(&self) -> &(dyn Any + 'static)

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, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

fn cast_into(self) -> U

Performs the cast.
Source§

impl<T> Conv for T

Source§

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
Source§

impl<T> CopyAs<T> for T

Source§

fn copy_as(self) -> T

Source§

impl<T> FmtForward for T

Source§

fn fmt_binary(self) -> FmtBinary<Self>
where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
Source§

fn fmt_display(self) -> FmtDisplay<Self>
where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
Source§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>
where Self: LowerExp,

Causes self to use its LowerExp implementation when Debug-formatted.
Source§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>
where Self: LowerHex,

Causes self to use its LowerHex implementation when Debug-formatted.
Source§

fn fmt_octal(self) -> FmtOctal<Self>
where Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
Source§

fn fmt_pointer(self) -> FmtPointer<Self>
where Self: Pointer,

Causes self to use its Pointer implementation when Debug-formatted.
Source§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>
where Self: UpperExp,

Causes self to use its UpperExp implementation when Debug-formatted.
Source§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>
where Self: UpperHex,

Causes self to use its UpperHex implementation when Debug-formatted.
Source§

fn fmt_list(self) -> FmtList<Self>
where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FutureExt for T

Source§

fn with_context(self, otel_cx: Context) -> WithContext<Self>

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
Source§

fn with_current_context(self) -> WithContext<Self>

Attaches the current Context to this type, returning a WithContext wrapper. Read more
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> IntoRequest<T> for T

Source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
Source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

Source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
Source§

impl<T, U> OverrideFrom<Option<&T>> for U
where U: OverrideFrom<T>,

Source§

fn override_from(self, layer: &Option<&T>) -> U

Override the configuration represented by Self with values from the given layer.
Source§

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

Source§

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 primary(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Primary].

§Example
println!("{}", value.primary());
Source§

fn fixed(&self, color: u8) -> Painted<&T>

Returns self with the fg() set to [Color :: Fixed].

§Example
println!("{}", value.fixed(color));
Source§

fn rgb(&self, r: u8, g: u8, b: u8) -> Painted<&T>

Returns self with the fg() set to [Color :: Rgb].

§Example
println!("{}", value.rgb(r, g, b));
Source§

fn black(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Black].

§Example
println!("{}", value.black());
Source§

fn red(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Red].

§Example
println!("{}", value.red());
Source§

fn green(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Green].

§Example
println!("{}", value.green());
Source§

fn yellow(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Yellow].

§Example
println!("{}", value.yellow());
Source§

fn blue(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Blue].

§Example
println!("{}", value.blue());
Source§

fn magenta(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Magenta].

§Example
println!("{}", value.magenta());
Source§

fn cyan(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Cyan].

§Example
println!("{}", value.cyan());
Source§

fn white(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: White].

§Example
println!("{}", value.white());
Source§

fn bright_black(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightBlack].

§Example
println!("{}", value.bright_black());
Source§

fn bright_red(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightRed].

§Example
println!("{}", value.bright_red());
Source§

fn bright_green(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightGreen].

§Example
println!("{}", value.bright_green());
Source§

fn bright_yellow(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightYellow].

§Example
println!("{}", value.bright_yellow());
Source§

fn bright_blue(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightBlue].

§Example
println!("{}", value.bright_blue());
Source§

fn bright_magenta(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightMagenta].

§Example
println!("{}", value.bright_magenta());
Source§

fn bright_cyan(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightCyan].

§Example
println!("{}", value.bright_cyan());
Source§

fn bright_white(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightWhite].

§Example
println!("{}", value.bright_white());
Source§

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>

Returns self with the bg() set to [Color :: Primary].

§Example
println!("{}", value.on_primary());
Source§

fn on_fixed(&self, color: u8) -> Painted<&T>

Returns self with the bg() set to [Color :: Fixed].

§Example
println!("{}", value.on_fixed(color));
Source§

fn on_rgb(&self, r: u8, g: u8, b: u8) -> Painted<&T>

Returns self with the bg() set to [Color :: Rgb].

§Example
println!("{}", value.on_rgb(r, g, b));
Source§

fn on_black(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Black].

§Example
println!("{}", value.on_black());
Source§

fn on_red(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Red].

§Example
println!("{}", value.on_red());
Source§

fn on_green(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Green].

§Example
println!("{}", value.on_green());
Source§

fn on_yellow(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Yellow].

§Example
println!("{}", value.on_yellow());
Source§

fn on_blue(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Blue].

§Example
println!("{}", value.on_blue());
Source§

fn on_magenta(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Magenta].

§Example
println!("{}", value.on_magenta());
Source§

fn on_cyan(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Cyan].

§Example
println!("{}", value.on_cyan());
Source§

fn on_white(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: White].

§Example
println!("{}", value.on_white());
Source§

fn on_bright_black(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightBlack].

§Example
println!("{}", value.on_bright_black());
Source§

fn on_bright_red(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightRed].

§Example
println!("{}", value.on_bright_red());
Source§

fn on_bright_green(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightGreen].

§Example
println!("{}", value.on_bright_green());
Source§

fn on_bright_yellow(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightYellow].

§Example
println!("{}", value.on_bright_yellow());
Source§

fn on_bright_blue(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightBlue].

§Example
println!("{}", value.on_bright_blue());
Source§

fn on_bright_magenta(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightMagenta].

§Example
println!("{}", value.on_bright_magenta());
Source§

fn on_bright_cyan(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightCyan].

§Example
println!("{}", value.on_bright_cyan());
Source§

fn on_bright_white(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightWhite].

§Example
println!("{}", value.on_bright_white());
Source§

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 bold(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Bold].

§Example
println!("{}", value.bold());
Source§

fn dim(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Dim].

§Example
println!("{}", value.dim());
Source§

fn italic(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Italic].

§Example
println!("{}", value.italic());
Source§

fn underline(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Underline].

§Example
println!("{}", value.underline());

Returns self with the attr() set to [Attribute :: Blink].

§Example
println!("{}", value.blink());

Returns self with the attr() set to [Attribute :: RapidBlink].

§Example
println!("{}", value.rapid_blink());
Source§

fn invert(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Invert].

§Example
println!("{}", value.invert());
Source§

fn conceal(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Conceal].

§Example
println!("{}", value.conceal());
Source§

fn strike(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Strike].

§Example
println!("{}", value.strike());
Source§

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 mask(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Mask].

§Example
println!("{}", value.mask());
Source§

fn wrap(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Wrap].

§Example
println!("{}", value.wrap());
Source§

fn linger(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Linger].

§Example
println!("{}", value.linger());
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.

Returns self with the quirk() set to [Quirk :: Clear].

§Example
println!("{}", value.clear());
Source§

fn resetting(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Resetting].

§Example
println!("{}", value.resetting());
Source§

fn bright(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Bright].

§Example
println!("{}", value.bright());
Source§

fn on_bright(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: OnBright].

§Example
println!("{}", value.on_bright());
Source§

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§

fn new(self) -> Painted<Self>
where Self: Sized,

Create a new Painted with a default Style. Read more
Source§

fn paint<S>(&self, style: S) -> Painted<&Self>
where S: Into<Style>,

Apply a style wholesale to self. Any previous style is replaced. Read more
Source§

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

Source§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
Source§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R
where R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
Source§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R
where R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
Source§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
Source§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
Source§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

Borrows 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
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

Mutably borrows 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
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
Source§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R, ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
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<P, R> ProtoType<R> for P
where R: RustType<P>,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<'a, S, T> Semigroup<&'a S> for T
where T: Semigroup<S>,

Source§

fn plus_equals(&mut self, rhs: &&'a S)

The method of std::ops::AddAssign, for types that do not implement AddAssign.
Source§

impl<T> ServiceExt for T

Source§

fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>
where Self: Sized,

Apply a transformation to the response body. Read more
Source§

fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>
where Self: Sized,

High level tracing that classifies responses using HTTP status codes. Read more
Source§

fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>
where Self: Sized,

High level tracing that classifies responses using gRPC headers. Read more
Source§

impl<T> Tap for T

Source§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
Source§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
Source§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
Source§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
Source§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
Source§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
Source§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
Source§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
Source§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
Source§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release builds.
Source§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Calls .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
where Self: BorrowMut<B>, B: ?Sized,

Calls .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
where Self: AsRef<R>, R: ?Sized,

Calls .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
where Self: AsMut<R>, R: ?Sized,

Calls .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
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
Source§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
Source§

impl<T> TryConv for T

Source§

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. 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<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

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