pub struct RenderPrepError {
pub phase: ErrorPhase,
pub code: &'static str,
pub message: Box<str>,
pub path: Option<Box<str>>,
pub chapter_index: Option<usize>,
pub limit: Option<Box<ErrorLimitContext>>,
pub context: Option<Box<RenderPrepErrorContext>>,
}Expand description
Structured error for style/font preparation operations.
Fields§
§phase: ErrorPhaseProcessing phase where this error originated.
code: &'static strStable machine-readable code.
message: Box<str>Human-readable message.
path: Option<Box<str>>Optional archive path context.
chapter_index: Option<usize>Optional chapter index context.
limit: Option<Box<ErrorLimitContext>>Optional typed actual-vs-limit context.
context: Option<Box<RenderPrepErrorContext>>Optional additional context.
Trait Implementations§
Source§impl Clone for RenderPrepError
impl Clone for RenderPrepError
Source§fn clone(&self) -> RenderPrepError
fn clone(&self) -> RenderPrepError
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 RenderPrepError
impl Debug for RenderPrepError
Source§impl Display for RenderPrepError
impl Display for RenderPrepError
Source§impl Error for RenderPrepError
impl Error for RenderPrepError
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 From<RenderPrepError> for EpubError
impl From<RenderPrepError> for EpubError
Source§fn from(err: RenderPrepError) -> Self
fn from(err: RenderPrepError) -> Self
Converts to this type from the input type.
Source§impl From<RenderPrepError> for PhaseError
impl From<RenderPrepError> for PhaseError
Source§fn from(err: RenderPrepError) -> Self
fn from(err: RenderPrepError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RenderPrepError
impl PartialEq for RenderPrepError
impl Eq for RenderPrepError
impl StructuralPartialEq for RenderPrepError
Auto Trait Implementations§
impl Freeze for RenderPrepError
impl RefUnwindSafe for RenderPrepError
impl Send for RenderPrepError
impl Sync for RenderPrepError
impl Unpin for RenderPrepError
impl UnsafeUnpin for RenderPrepError
impl UnwindSafe for RenderPrepError
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