Skip to main content

FieldError

Enum FieldError 

Source
pub enum FieldError<E, N, D, G> {
    Attributes(Error<E, N>),
    Uri(UriError<E, N>),
    ValidationReference(ReferenceFieldError<E, N, D, G>),
    Time(ClaimedTimeError<E, N>),
    UnprovenTime {
        node: N,
        cause: ClaimedTimeFailure,
    },
}
Expand description

A failed/incomplete field never creates a successful preflight receipt.

Variants§

§

Attributes(Error<E, N>)

Original root attribute declaration/scalar/source refusal.

§

Uri(UriError<E, N>)

Original URI/OID/policy-qualifier refusal.

§

ValidationReference(ReferenceFieldError<E, N, D, G>)

Original optional validation-reference scalar/base64/method refusal.

§

Time(ClaimedTimeError<E, N>)

Original claimed-time source/current-operation refusal.

§

UnprovenTime

Completed claimed-time interpretation did not establish a zoned claim.

Fields

§node: N

Original protected SigningTime.

§cause: ClaimedTimeFailure

Unsupported, malformed and genuinely absent timezone stay distinct.

Trait Implementations§

Source§

impl<E: Debug, N: Debug, D: Debug, G: Debug> Debug for FieldError<E, N, D, G>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<E, N, D, G> !Freeze for FieldError<E, N, D, G>

§

impl<E, N, D, G> Forget for FieldError<E, N, D, G>

§

impl<E, N, D, G> RefUnwindSafe for FieldError<E, N, D, G>

§

impl<E, N, D, G> Send for FieldError<E, N, D, G>
where Error<E, N>: Send, UriError<E, N>: Send, ReferenceFieldError<E, N, D, G>: Send, ClaimedTimeError<E, N>: Send, N: Send,

§

impl<E, N, D, G> Sync for FieldError<E, N, D, G>
where Error<E, N>: Sync, UriError<E, N>: Sync, ReferenceFieldError<E, N, D, G>: Sync, ClaimedTimeError<E, N>: Sync, N: Sync,

§

impl<E, N, D, G> Unpin for FieldError<E, N, D, G>
where Error<E, N>: Unpin, UriError<E, N>: Unpin, ReferenceFieldError<E, N, D, G>: Unpin, ClaimedTimeError<E, N>: Unpin, N: Unpin,

§

impl<E, N, D, G> UnsafeUnpin for FieldError<E, N, D, G>

§

impl<E, N, D, G> UnwindSafe for FieldError<E, N, D, G>

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.