struct PathNode {
here: Vec<PolicyId>,
children: HashMap<String, PathNode>,
}Expand description
A trie over changed-path segments, as segments splits them.
here holds policies whose declared prefix ends at this node — which
includes the root, for Scope::Any path prefixes, so those match a write
regardless of its diff, even one with no changed paths.
Fields§
§here: Vec<PolicyId>§children: HashMap<String, PathNode>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathNode
impl RefUnwindSafe for PathNode
impl Send for PathNode
impl Sync for PathNode
impl Unpin for PathNode
impl UnsafeUnpin for PathNode
impl UnwindSafe for PathNode
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