pub enum LinkPolicy {
Strict,
Lenient,
}Expand description
How to treat references that do not resolve within the dataset.
Variants§
Strict
Unresolved references are an error. Appropriate for a fully assembled model.
Lenient
Unresolved references are reported as diagnostics and otherwise tolerated.
This is the default because real exchanges are routinely partial: a Steady State Hypothesis file references equipment defined in a separate Equipment file, and a model may legitimately be read before its boundary set is loaded.
Trait Implementations§
Source§impl Clone for LinkPolicy
impl Clone for LinkPolicy
impl Copy for LinkPolicy
Source§impl Debug for LinkPolicy
impl Debug for LinkPolicy
Source§impl Default for LinkPolicy
impl Default for LinkPolicy
impl Eq for LinkPolicy
Source§impl PartialEq for LinkPolicy
impl PartialEq for LinkPolicy
impl StructuralPartialEq for LinkPolicy
Auto Trait Implementations§
impl Forget for LinkPolicy
impl Freeze for LinkPolicy
impl Move for LinkPolicy
impl RefUnwindSafe for LinkPolicy
impl Send for LinkPolicy
impl Sync for LinkPolicy
impl Unpin for LinkPolicy
impl UnsafeUnpin for LinkPolicy
impl UnwindSafe for LinkPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.