Skip to main content

SourceError

Enum SourceError 

Source
pub enum SourceError<E, P> {
    History(HistoryError),
    Scope(ScopeError<Node>),
    Contents(ErrorOf<E>),
    Name(NameError<P>),
    Cms(Error),
    UnsupportedName,
}
Expand description

Original source/metadata/hash cause, never an unassociated-name finding.

Variants§

§

History(HistoryError)

Original historical material or index refusal.

§

Scope(ScopeError<Node>)

Original PDF source scope refused.

§

Contents(ErrorOf<E>)

Original PDF input/container processing refused.

§

Name(NameError<P>)

Prescribed name hashing refused with its original provider cause.

§

Cms(Error)

Actual common material metadata query refused.

§

UnsupportedName

The selected provider cannot name SHA-1 inputs.

Trait Implementations§

Source§

impl<E: Debug, P: Debug> Debug for SourceError<E, P>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<E, P> From<Error> for SourceError<E, P>

Source§

fn from(cause: Error) -> Self

Converts to this type from the input type.
Source§

impl<E, P> From<HistoryError> for SourceError<E, P>

Source§

fn from(cause: HistoryError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<E, P> !Freeze for SourceError<E, P>

§

impl<E, P> Forget for SourceError<E, P>

§

impl<E, P> RefUnwindSafe for SourceError<E, P>

§

impl<E, P> Send for SourceError<E, P>
where ErrorOf<E>: Send, NameError<P>: Send,

§

impl<E, P> Sync for SourceError<E, P>
where ErrorOf<E>: Sync, NameError<P>: Sync,

§

impl<E, P> Unpin for SourceError<E, P>
where ErrorOf<E>: Unpin, NameError<P>: Unpin,

§

impl<E, P> UnsafeUnpin for SourceError<E, P>

§

impl<E, P> UnwindSafe for SourceError<E, P>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.