pub enum FormatError<E, N> {
Selection {
signature: N,
index: usize,
},
Property(Error<E, N>),
Reference {
node: N,
status: Status,
},
Foreign {
node: N,
},
Metadata {
node: N,
object: N,
local: &'static str,
},
}Expand description
Format structure, reference eligibility and exact object-metadata refusals.
Variants§
Selection
Caller ordinal is absent or does not select a data-object format.
Fields
§
signature: NOriginal selected signature.
Property(Error<E, N>)
Original schema, source-generation or resource cause.
Reference
Lookup reached an instruction whose target digest was not successfully
checked, or which refers to SignedProperties rather than a data object.
Fields
§
node: NOriginal authenticated reference instruction.
Foreign
Supplied reading belongs to another selected signature or source.
Fields
§
node: NOriginal property node from the supplied reading.
Metadata
A present original ds:Object attribute differs from its format value.
Trait Implementations§
Auto Trait Implementations§
impl<E, N> Forget for FormatError<E, N>
impl<E, N> Freeze for FormatError<E, N>
impl<E, N> RefUnwindSafe for FormatError<E, N>
impl<E, N> Send for FormatError<E, N>
impl<E, N> Sync for FormatError<E, N>
impl<E, N> Unpin for FormatError<E, N>
impl<E, N> UnsafeUnpin for FormatError<E, N>
impl<E, N> UnwindSafe for FormatError<E, N>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more