pub enum WarningKind {
UnbalancedHydraulics,
NegativePressure {
node_index: usize,
},
PumpXHead {
link_index: usize,
},
}Expand description
Category of non-fatal diagnostic (§8.4).
Variants§
UnbalancedHydraulics
Hydraulic solver exceeded max_iter; continued with extra_iter frozen-status loop.
NegativePressure
Negative pressure at a junction in DDA mode.
PumpXHead
Pump operation in reverse-flow (XHEAD) condition.
Trait Implementations§
Source§impl Clone for WarningKind
impl Clone for WarningKind
Source§fn clone(&self) -> WarningKind
fn clone(&self) -> WarningKind
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 moreAuto Trait Implementations§
impl Freeze for WarningKind
impl RefUnwindSafe for WarningKind
impl Send for WarningKind
impl Sync for WarningKind
impl Unpin for WarningKind
impl UnsafeUnpin for WarningKind
impl UnwindSafe for WarningKind
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