pub enum MeasureError {
OutOfInterval {
clause: MeasClause,
},
UnknownVector(String),
UnsupportedPlot(String),
}Expand description
Why a measurement has no value.
Variants§
OutOfInterval
The event never happens in the plot (or the window is empty): ngspice’s “out of interval”.
Fields
§
clause: MeasClauseUnknownVector(String)
The output variable is not in the plot.
UnsupportedPlot(String)
Measurements need a .tran, .ac, .dc or .sp plot.
Implementations§
Trait Implementations§
Source§impl Clone for MeasureError
impl Clone for MeasureError
Source§impl Debug for MeasureError
impl Debug for MeasureError
Source§impl Display for MeasureError
impl Display for MeasureError
Source§impl Error for MeasureError
impl Error for MeasureError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for MeasureError
impl PartialEq for MeasureError
impl StructuralPartialEq for MeasureError
Auto Trait Implementations§
impl Forget for MeasureError
impl Freeze for MeasureError
impl Move for MeasureError
impl RefUnwindSafe for MeasureError
impl Send for MeasureError
impl Sync for MeasureError
impl Unpin for MeasureError
impl UnsafeUnpin for MeasureError
impl UnwindSafe for MeasureError
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