pub enum MocksmithError {
Busy,
Poisoned,
ClangError(String),
InvalidSedReplacement(String),
InvalidRegex(String),
InputFileError(PathBuf),
ParseError {
message: String,
file: Option<PathBuf>,
line: u32,
column: u32,
},
NothingToMock,
}Variants§
Busy
Poisoned
ClangError(String)
InvalidSedReplacement(String)
InvalidRegex(String)
InputFileError(PathBuf)
ParseError
NothingToMock
Trait Implementations§
Source§impl Debug for MocksmithError
impl Debug for MocksmithError
Source§impl Display for MocksmithError
impl Display for MocksmithError
Source§impl Error for MocksmithError
impl Error for MocksmithError
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 MocksmithError
impl PartialEq for MocksmithError
impl StructuralPartialEq for MocksmithError
Auto Trait Implementations§
impl Freeze for MocksmithError
impl RefUnwindSafe for MocksmithError
impl Send for MocksmithError
impl Sync for MocksmithError
impl Unpin for MocksmithError
impl UnwindSafe for MocksmithError
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