pub enum ViewCheckResult {
Included,
Excluded,
Ambiguous,
}Expand description
Result of checking whether a subtree is in a view.
This 3-state result enables optimizations for GETBULK/GETNEXT operations by distinguishing between definite inclusion, definite exclusion, and mixed/ambiguous subtrees that require per-OID checking.
Variants§
Included
The queried OID and all its descendants are definitely in the view.
Excluded
The queried OID and all its descendants are definitely not in the view.
Ambiguous
The subtree has mixed permissions - some descendants are included, others are excluded. Per-OID access checks are required.
Trait Implementations§
Source§impl Clone for ViewCheckResult
impl Clone for ViewCheckResult
Source§fn clone(&self) -> ViewCheckResult
fn clone(&self) -> ViewCheckResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ViewCheckResult
impl Debug for ViewCheckResult
Source§impl PartialEq for ViewCheckResult
impl PartialEq for ViewCheckResult
impl Copy for ViewCheckResult
impl Eq for ViewCheckResult
impl StructuralPartialEq for ViewCheckResult
Auto Trait Implementations§
impl Freeze for ViewCheckResult
impl RefUnwindSafe for ViewCheckResult
impl Send for ViewCheckResult
impl Sync for ViewCheckResult
impl Unpin for ViewCheckResult
impl UnwindSafe for ViewCheckResult
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