diff options
author | Asahi Lina <lina@asahilina.net> | 2023-02-05 20:29:01 +0900 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2024-10-22 22:55:10 +0200 |
commit | b4b3744a482ce965dfa22208ae0b4fc207997079 (patch) | |
tree | b8b29ccb84b792b4e32afff2b3d4b209f2d137dc /include | |
parent | 370a36f1198b9e6ffce9dada51e0f530d6dc4739 (diff) |
rust: Add a Sealed trait
Some traits exposed by the kernel crate may not be intended to be
implemented by downstream modules. Add a Sealed trait to allow avoiding
this using the sealed trait pattern.
Signed-off-by: Asahi Lina <lina@asahilina.net>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions