pub struct StoryDiffError {
pub part: String,
pub reason: &'static str,
}Expand description
A header/footer comparison that cannot produce a faithful redline.
Carried inside OpcError::Io; callers can downcast its get_ref().
Fields§
§part: StringPackage part whose comparison failed.
reason: &'static strThe failed operation or output invariant.
Trait Implementations§
Source§impl Debug for StoryDiffError
impl Debug for StoryDiffError
Source§impl Display for StoryDiffError
impl Display for StoryDiffError
Source§impl Error for StoryDiffError
impl Error for StoryDiffError
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()
Auto Trait Implementations§
impl Forget for StoryDiffError
impl Freeze for StoryDiffError
impl Move for StoryDiffError
impl RefUnwindSafe for StoryDiffError
impl Send for StoryDiffError
impl Sync for StoryDiffError
impl Unpin for StoryDiffError
impl UnsafeUnpin for StoryDiffError
impl UnwindSafe for StoryDiffError
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