#[non_exhaustive]pub enum RefreshRejection {
OutsideRoot,
BeyondDepth,
NotAdmitted,
UnsafeAncestry,
ResourceBudget,
}Expand description
Why one requested refresh path was not verified.
Rejections are values rather than dropped inputs so a hint producer can distinguish “verified and unchanged” from “not examined” without parsing an error message.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
OutsideRoot
The path was absolute or traversed above the opened root.
BeyondDepth
The path is deeper than the opened root’s semantic depth boundary.
NotAdmitted
A fixed admission rule excludes the path from retained truth.
UnsafeAncestry
A symlink or filesystem boundary makes the requested ancestry unsafe to walk.
ResourceBudget
Verifying the path could expand a resource-stopped retained set.
Implementations§
Trait Implementations§
Source§impl Clone for RefreshRejection
impl Clone for RefreshRejection
impl Copy for RefreshRejection
Source§impl Debug for RefreshRejection
impl Debug for RefreshRejection
impl Eq for RefreshRejection
Source§impl Hash for RefreshRejection
impl Hash for RefreshRejection
Source§impl PartialEq for RefreshRejection
impl PartialEq for RefreshRejection
impl StructuralPartialEq for RefreshRejection
Auto Trait Implementations§
impl Freeze for RefreshRejection
impl RefUnwindSafe for RefreshRejection
impl Send for RefreshRejection
impl Sync for RefreshRejection
impl Unpin for RefreshRejection
impl UnsafeUnpin for RefreshRejection
impl UnwindSafe for RefreshRejection
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