pub enum HarnessFixtureError {
Read {
path: PathBuf,
source: Error,
},
Parse(Error),
Required {
field: String,
},
Empty {
field: &'static str,
},
RetiredReceiptField {
field_path: String,
},
UnknownReceiptField {
field_path: String,
},
UnsupportedFixtureMode {
mode: String,
field_path: String,
},
}Variants§
Trait Implementations§
Source§impl Debug for HarnessFixtureError
impl Debug for HarnessFixtureError
Source§impl Display for HarnessFixtureError
impl Display for HarnessFixtureError
Source§impl Error for HarnessFixtureError
impl Error for HarnessFixtureError
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<Error> for HarnessFixtureError
impl From<Error> for HarnessFixtureError
Source§impl From<HarnessFixtureError> for HarnessReplayError
impl From<HarnessFixtureError> for HarnessReplayError
Source§fn from(source: HarnessFixtureError) -> Self
fn from(source: HarnessFixtureError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for HarnessFixtureError
impl !UnwindSafe for HarnessFixtureError
impl Freeze for HarnessFixtureError
impl Send for HarnessFixtureError
impl Sync for HarnessFixtureError
impl Unpin for HarnessFixtureError
impl UnsafeUnpin for HarnessFixtureError
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