confluent_kafka/common/resource/mod.rs
1// Copyright 2025 Confluent Inc.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15//! ACL resource types.
16//!
17//! Corresponds to the `org.apache.kafka.common.resource` package.
18
19mod pattern_type;
20// The `Resource` class lives in its own `resource.rs` file per CLAUDE.md's
21// "one Java class per file" rule, nested under the `resource` module that
22// mirrors the `org.apache.kafka.common.resource` package.
23#[expect(clippy::module_inception)]
24mod resource;
25mod resource_pattern;
26mod resource_pattern_filter;
27mod resource_type;
28
29pub use pattern_type::PatternType;
30pub use resource::Resource;
31pub use resource_pattern::ResourcePattern;
32pub use resource_pattern_filter::ResourcePatternFilter;
33pub use resource_type::ResourceType;