#[non_exhaustive]pub enum TraceGenError {
SpecNotFound(PathBuf),
TempDir(String),
Apalache(ApalacheError),
NoTracesFound(PathBuf),
TraceParse {
path: PathBuf,
reason: String,
},
DirectoryRead(DirectoryReadError),
}Expand description
Error during Apalache trace generation.
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.
SpecNotFound(PathBuf)
TLA+ spec file not found.
TempDir(String)
Failed to create temp directory.
Apalache(ApalacheError)
Apalache CLI error.
NoTracesFound(PathBuf)
No ITF traces found in output.
TraceParse
Failed to parse ITF trace file.
DirectoryRead(DirectoryReadError)
Directory read error.
Trait Implementations§
Source§impl Debug for TraceGenError
impl Debug for TraceGenError
Source§impl Display for TraceGenError
impl Display for TraceGenError
Source§impl Error for TraceGenError
impl Error for TraceGenError
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 From<ApalacheError> for TraceGenError
impl From<ApalacheError> for TraceGenError
Source§fn from(source: ApalacheError) -> Self
fn from(source: ApalacheError) -> Self
Converts to this type from the input type.
Source§impl From<DirectoryReadError> for TraceGenError
impl From<DirectoryReadError> for TraceGenError
Source§fn from(source: DirectoryReadError) -> Self
fn from(source: DirectoryReadError) -> Self
Converts to this type from the input type.
Source§impl From<TraceGenError> for Error
impl From<TraceGenError> for Error
Source§fn from(source: TraceGenError) -> Self
fn from(source: TraceGenError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TraceGenError
impl RefUnwindSafe for TraceGenError
impl Send for TraceGenError
impl Sync for TraceGenError
impl Unpin for TraceGenError
impl UnsafeUnpin for TraceGenError
impl UnwindSafe for TraceGenError
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