pub enum CSharpError {
ParseExerciseDesc(PathBuf, JsonError),
ParseTestResults(PathBuf, JsonError),
CacheDir,
MissingBootstrapDll(PathBuf),
MissingTestResults {
path: PathBuf,
stdout: String,
stderr: String,
},
FileError(FileError),
Zip(ZipError),
}Variants§
ParseExerciseDesc(PathBuf, JsonError)
ParseTestResults(PathBuf, JsonError)
CacheDir
MissingBootstrapDll(PathBuf)
MissingTestResults
FileError(FileError)
Zip(ZipError)
Trait Implementations§
Source§impl Debug for CSharpError
impl Debug for CSharpError
Source§impl Display for CSharpError
impl Display for CSharpError
Source§impl Error for CSharpError
impl Error for CSharpError
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<T> From<CSharpError> for Result<T, TmcError>
impl<T> From<CSharpError> for Result<T, TmcError>
Source§fn from(from: CSharpError) -> Self
fn from(from: CSharpError) -> Self
Converts to this type from the input type.
Source§impl From<CSharpError> for TmcError
impl From<CSharpError> for TmcError
Source§fn from(err: CSharpError) -> Self
fn from(err: CSharpError) -> Self
Converts to this type from the input type.
Source§impl From<FileError> for CSharpError
impl From<FileError> for CSharpError
Auto Trait Implementations§
impl Freeze for CSharpError
impl !RefUnwindSafe for CSharpError
impl Send for CSharpError
impl Sync for CSharpError
impl Unpin for CSharpError
impl !UnwindSafe for CSharpError
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