Skip to main content

ClosureError

Enum ClosureError 

Source
pub enum ClosureError<E> {
    Processing(Error),
    Unproven {
        property: Node,
    },
    Foreign {
        property: Node,
    },
    Date(CompareError),
    Dependency {
        first: Node,
        second: Node,
    },
    Chronology {
        earlier: Node,
        later: Node,
        cause: OrderCause,
    },
    History {
        property: Node,
        decision: Decision,
    },
    Callback(E),
}
Expand description

Refusal cannot become a successful partial preservation set.

Variants§

§

Processing(Error)

Actual original source/query/work refusal.

§

Unproven

Actual source node of a missing or incomplete proof.

Fields

§property: Node

Whole original proof attribute.

§

Foreign

A receipt belongs to another preparation or was supplied twice.

Fields

§property: Node

Actual supplied/selecting property.

§

Date(CompareError)

The original unsigned ordering dates cannot be ordered exactly.

§

Dependency

Original proofs do not establish an acyclic preservation dependency.

Fields

§first: Node

First actual source proof.

§second: Node

Second actual source proof.

§

Chronology

Earlier/later authenticated generations fail the normative order.

Fields

§earlier: Node

Earlier source proof.

§later: Node

Later source proof.

§cause: OrderCause

Actual uncertainty/reversal, never a boolean fallback.

§

History

Trusted historical validation completed adversely or remains unknown.

Fields

§property: Node

Actual original proof.

§decision: Decision

Actual completed decision.

§

Callback(E)

Original historical validator failed to execute.

Trait Implementations§

Source§

impl<E: Debug> Debug for ClosureError<E>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<E> !Freeze for ClosureError<E>

§

impl<E> Forget for ClosureError<E>

§

impl<E> RefUnwindSafe for ClosureError<E>
where E: RefUnwindSafe,

§

impl<E> Send for ClosureError<E>
where E: Send,

§

impl<E> Sync for ClosureError<E>
where E: Sync,

§

impl<E> Unpin for ClosureError<E>
where E: Unpin,

§

impl<E> UnsafeUnpin for ClosureError<E>
where E: UnsafeUnpin,

§

impl<E> UnwindSafe for ClosureError<E>
where E: UnwindSafe,

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.