Skip to main content

Error

Enum Error 

Source
pub enum Error<E, D, G> {
    Archive(Error<E>),
    DuplicateFacts(MemberId<D, G>),
    ForeignFacts(MemberId<D, G>),
    DuplicateTimestamp(MemberId<D, G>),
}
Expand description

Caller/processing errors cannot become readable archive conformance faults.

Variants§

§

Archive(Error<E>)

Actual source/current processing refused.

§

DuplicateFacts(MemberId<D, G>)

More than one producing reading was supplied for one original occurrence.

§

ForeignFacts(MemberId<D, G>)

A supplied reading belongs to another archive or a non-manifest member.

§

DuplicateTimestamp(MemberId<D, G>)

Two actual timestamp receipts were supplied for the same original input.

Trait Implementations§

Source§

impl<E: Debug, D: Debug, G: Debug> Debug for Error<E, D, G>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<E, D, G> Freeze for Error<E, D, G>
where Error<E>: Freeze, MemberId<D, G>: Freeze,

§

impl<E, D, G> RefUnwindSafe for Error<E, D, G>

§

impl<E, D, G> Send for Error<E, D, G>
where Error<E>: Send, MemberId<D, G>: Send,

§

impl<E, D, G> Sync for Error<E, D, G>
where Error<E>: Sync, MemberId<D, G>: Sync,

§

impl<E, D, G> Unpin for Error<E, D, G>
where Error<E>: Unpin, MemberId<D, G>: Unpin,

§

impl<E, D, G> UnsafeUnpin for Error<E, D, G>

§

impl<E, D, G> UnwindSafe for Error<E, D, G>
where Error<E>: UnwindSafe, MemberId<D, G>: 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.