#[non_exhaustive]pub enum BcsrValidation {
Layout,
Strict,
}Expand description
Validation depth applied at view open time.
Layout is the cheap default and catches every violation that lets a
downstream traversal walk out of bounds. Strict additionally verifies
cross-direction consistency: the hyperedge-major and vertex-major
indexes describe the same set of incidences. Strict is required for
end-to-end semantic guarantees on untrusted producers.
§Performance
perf: unspecified; this is a metadata enum.
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.
Layout
Length, monotonicity, in-range IDs, sorted-and-unique within ranges.
Cost is O(P_head + P_tail + P_outgoing + P_incoming).
Strict
Layout plus cross-direction multiset equality.
Cost is O((P_head + P_tail) · log d) where d is the maximum
vertex outgoing or incoming degree.
Trait Implementations§
Source§impl Clone for BcsrValidation
impl Clone for BcsrValidation
Source§fn clone(&self) -> BcsrValidation
fn clone(&self) -> BcsrValidation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BcsrValidation
Source§impl Debug for BcsrValidation
impl Debug for BcsrValidation
impl Eq for BcsrValidation
Source§impl PartialEq for BcsrValidation
impl PartialEq for BcsrValidation
Source§fn eq(&self, other: &BcsrValidation) -> bool
fn eq(&self, other: &BcsrValidation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BcsrValidation
Auto Trait Implementations§
impl Freeze for BcsrValidation
impl RefUnwindSafe for BcsrValidation
impl Send for BcsrValidation
impl Sync for BcsrValidation
impl Unpin for BcsrValidation
impl UnsafeUnpin for BcsrValidation
impl UnwindSafe for BcsrValidation
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