Skip to main content

ReferenceFieldError

Enum ReferenceFieldError 

Source
pub enum ReferenceFieldError<E, N, D, G> {
    Foreign {
        node: N,
    },
    Access(AccessError<E, N>),
    Scalar(Error<E, N>),
    Time {
        node: N,
        fact: DateTimeFact,
    },
    Binary {
        location: Location<N, D, G>,
        cause: AccessError<E, N>,
    },
    Method {
        node: N,
        cause: Agreement,
    },
    Resource {
        node: N,
        cause: MemoryError,
    },
}
Expand description

Original field processing or completed unproven syntax, never artifact mismatch, missing material or provider authentication.

Variants§

§

Foreign

Reference metadata belongs to another original generation.

Fields

§node: N

Original property.

§

Access(AccessError<E, N>)

Current operation, source or method inspection refused.

§

Scalar(Error<E, N>)

Original requested URI/integer lexical outcome.

§

Time

The complete XML-owned dateTime reading was malformed or unsupported.

Fields

§node: N

Original IssueTime or ProducedAt.

§fact: DateTimeFact

Actual schema interpretation; no timezone default.

§

Binary

Original base64 decoding failure in its real XML enclosure.

Fields

§location: Location<N, D, G>

Original binary node/generation.

§cause: AccessError<E, N>

Original source/resource failure.

§

Method

Known prohibited or malformed method before provider dispatch.

Fields

§node: N

Original DigestMethod.

§cause: Agreement

Completed original syntax/format finding.

§

Resource

Metadata admission refused before accessing the next retained entry.

Fields

§node: N

Original property.

§cause: MemoryError

Exact resource cause.

Trait Implementations§

Source§

impl<E: Debug, N: Debug, D: Debug, G: Debug> Debug for ReferenceFieldError<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> Forget for ReferenceFieldError<E, N, D, G>

§

impl<E, N, D, G> Freeze for ReferenceFieldError<E, N, D, G>
where N: Freeze, AccessError<E, N>: Freeze, Error<E, N>: Freeze, Location<N, D, G>: Freeze,

§

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

§

impl<E, N, D, G> Send for ReferenceFieldError<E, N, D, G>
where N: Send, AccessError<E, N>: Send, Error<E, N>: Send, Location<N, D, G>: Send,

§

impl<E, N, D, G> Sync for ReferenceFieldError<E, N, D, G>
where N: Sync, AccessError<E, N>: Sync, Error<E, N>: Sync, Location<N, D, G>: Sync,

§

impl<E, N, D, G> Unpin for ReferenceFieldError<E, N, D, G>
where N: Unpin, AccessError<E, N>: Unpin, Error<E, N>: Unpin, Location<N, D, G>: Unpin,

§

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

§

impl<E, N, D, G> UnwindSafe for ReferenceFieldError<E, N, D, G>
where N: UnwindSafe, AccessError<E, N>: UnwindSafe, Error<E, N>: UnwindSafe, Location<N, 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.