pub struct Refusal {
pub system: Option<(usize, usize)>,
pub why: String,
}Expand description
Why a PDF, or one of its systems, could not be read from its vectors.
Fields§
§system: Option<(usize, usize)>The system (1-based) and its page (1-based), when one system is the reason.
why: StringTrait Implementations§
Source§impl Error for Refusal
impl Error for Refusal
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()
impl StructuralPartialEq for Refusal
Auto Trait Implementations§
impl Forget for Refusal
impl Freeze for Refusal
impl Move for Refusal
impl RefUnwindSafe for Refusal
impl Send for Refusalwhere
RawVecInner: Send,
impl Sync for Refusalwhere
RawVecInner: Sync,
impl Unpin for Refusal
impl UnsafeUnpin for Refusal
impl UnwindSafe for Refusalwhere
RawVecInner: UnwindSafe,
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