pub struct Failure<'a, 'b> {
pub name: &'a str,
pub error: &'b str,
}
Fields§
§name: &'a str
§error: &'b str
Trait Implementations§
impl<'a, 'b> StructuralPartialEq for Failure<'a, 'b>
Auto Trait Implementations§
impl<'a, 'b> Freeze for Failure<'a, 'b>
impl<'a, 'b> RefUnwindSafe for Failure<'a, 'b>
impl<'a, 'b> Send for Failure<'a, 'b>
impl<'a, 'b> Sync for Failure<'a, 'b>
impl<'a, 'b> Unpin for Failure<'a, 'b>
impl<'a, 'b> UnwindSafe for Failure<'a, 'b>
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