struct CollectionTrie {
paths: PathNode,
actions: HashMap<PolicyId, ActionSet>,
kinds: HashMap<PolicyId, KindSet>,
}Expand description
One collection’s trie, plus the action and account-kind filters each
entry was declared with. Both are indexed in parallel with a
synthetic per-policy mask recorded at insertion — kept as side tables
rather than inline in PathNode so the trie stays generic over “a
policy matched here” and each filter test stays one lookup, not a scan.
Fields§
§paths: PathNode§actions: HashMap<PolicyId, ActionSet>§kinds: HashMap<PolicyId, KindSet>Trait Implementations§
Source§impl Debug for CollectionTrie
impl Debug for CollectionTrie
Source§impl Default for CollectionTrie
impl Default for CollectionTrie
Source§fn default() -> CollectionTrie
fn default() -> CollectionTrie
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CollectionTrie
impl RefUnwindSafe for CollectionTrie
impl Send for CollectionTrie
impl Sync for CollectionTrie
impl Unpin for CollectionTrie
impl UnsafeUnpin for CollectionTrie
impl UnwindSafe for CollectionTrie
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
Mutably borrows from an owned value. Read more