pub enum ContainerError<E, N> {
Access(AccessError<E, N>),
Child(ChildError<E, N>),
Unexpected {
node: N,
},
Missing {
parent: N,
local: &'static str,
},
Duplicate {
node: N,
},
Order {
node: N,
},
Empty {
node: N,
},
}Expand description
Why a selected signature’s direct containers could not be located.
Variants§
Access(AccessError<E, N>)
Original XML access or execution failure.
Child(ChildError<E, N>)
Element-only container traversal failed, with its original location.
Unexpected
An element has no role in the selected container’s schema.
Fields
§
node: NOriginal element identity.
Missing
A required container is absent.
Fields
§
parent: NParent in whose direct child list the container was required.
Duplicate
More than one original container occupies the same schema role.
Fields
§
node: NRepeated container’s original identity.
Order
SignedProperties appears after UnsignedProperties.
Fields
§
node: NOut-of-order original container.
Empty
A required property container has no element children.
Fields
§
node: NOriginal empty container.
Trait Implementations§
Auto Trait Implementations§
impl<E, N> Forget for ContainerError<E, N>
impl<E, N> Freeze for ContainerError<E, N>
impl<E, N> RefUnwindSafe for ContainerError<E, N>
impl<E, N> Send for ContainerError<E, N>
impl<E, N> Sync for ContainerError<E, N>
impl<E, N> Unpin for ContainerError<E, N>
impl<E, N> UnsafeUnpin for ContainerError<E, N>
impl<E, N> UnwindSafe for ContainerError<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