pub struct FixtureError { /* private fields */ }
Expand description
Failure when initializing the fixture.
Implementations§
Source§impl FixtureError
impl FixtureError
Sourcepub fn new(kind: FixtureKind) -> Self
pub fn new(kind: FixtureKind) -> Self
Create a FixtureError
.
Sourcepub fn kind(&self) -> FixtureKind
pub fn kind(&self) -> FixtureKind
Fixture initialization cause.
Trait Implementations§
Source§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
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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