pub enum FixtureError {
InvalidTar(String),
FileNotFound(String),
InvalidFormat(String),
IoError(String),
YamlError(String),
}Expand description
Error type for fixture operations.
Variants§
InvalidTar(String)
Failed to parse tar archive
FileNotFound(String)
File not found in fixture
InvalidFormat(String)
Invalid fixture format
IoError(String)
IO error (represented as string for no-std compatibility)
YamlError(String)
YAML parsing error
Trait Implementations§
Source§impl Clone for FixtureError
impl Clone for FixtureError
Source§fn clone(&self) -> FixtureError
fn clone(&self) -> FixtureError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FixtureError
impl Debug for FixtureError
Source§impl Display for FixtureError
impl Display for FixtureError
Source§impl Error for FixtureError
impl Error for FixtureError
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 FixtureError
impl PartialEq for FixtureError
impl Eq for FixtureError
impl StructuralPartialEq for FixtureError
Auto Trait Implementations§
impl Freeze for FixtureError
impl RefUnwindSafe for FixtureError
impl Send for FixtureError
impl Sync for FixtureError
impl Unpin for FixtureError
impl UnwindSafe for FixtureError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.