Struct assert_fs::fixture::FixtureError
source · pub struct FixtureError { /* private fields */ }
Expand description
Failure when initializing the fixture.
Implementations
sourceimpl 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
sourceimpl Debug for FixtureError
impl Debug for FixtureError
sourceimpl Display for FixtureError
impl Display for FixtureError
sourceimpl Error for FixtureError
impl Error for FixtureError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourcefn 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 !RefUnwindSafe for FixtureError
impl Send for FixtureError
impl Sync for FixtureError
impl Unpin for FixtureError
impl !UnwindSafe for FixtureError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more