Skip to main content Module perms Copy item path Source use std::cmp::Ordering ; π use std::cmp::PartialOrd ; π use std::cmp::PartialOrd ; π use std::fmt ; π use crate::borrow_tracker::AccessKind ; π use crate::borrow_tracker::tree_borrows::diagnostics::TransitionError ; π use crate::borrow_tracker::tree_borrows::tree::AccessRelatedness ; π use super::foreign_access_skipping::IdempotentForeignAccess ; π use super::wildcard::WildcardAccessLevel ; π use self::PermissionPriv ::*; π diagnostics transition π This module controls how each permission individually reacts to an access.
Although these functions take protected as an argument, this is NOT because
we check protector violations here, but because some permissions behave differently
when protected. PermTransition Transition from one permission to the next. Permission Public interface to the state machine that controls read-write permissions.
This is the βprivate enumβ pattern. PermissionPriv π The activation states of a pointer.