1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//! Traits functions internal to the library.
//!
//! While [`Registry`] is a public trait, there are some implementation details that should be kept
//! private. This is done using a `Seal` trait, which is technically public, but within a private
//! module and therefore inaccessible to external users of the library.
//!
//! Additionally, making `Registry` a sealed trait blocks any external users from implementing it
//! on their own types that were never intended to be `Registry`s.
//!
//! Nothing within this module should be considered a part of the public API.
//!
//! [`Registry`]: crate::registry::Registry
pub use Canonical;
pub use Claims;
pub use Length;
pub use CanonicalParViews;
pub use CanonicalViews;
use crate::;
use Assertions;
use Storage;
/// A trait that is public but defined within a private module.
///
/// This effectively hides all function definitions, making them only usable internally within this
/// library. Additionally, no external types can implement this trait, and therefore no external
/// types can implement `Registry`.
///
/// While this trait specifically does not have any functions implemented, the traits it relies on
/// do. See the modules where they are defined for more details on the internal functionality
/// defined through these sealed traits.