Skip to main content

FrameResult

Enum FrameResult 

Source
pub enum FrameResult {
Show 27 variants Schema(SchemaFrameResult), Type(TypeFrameResult), Element(ElementFrameResult), Attribute(AttributeFrameResult), Group(GroupFrameResult), Notation(NotationResult), Assert(AssertResult), Alternative(AlternativeResult), OpenContent(OpenContentResult), DefaultOpenContent(DefaultOpenContentResult), Annotation(Annotation), AppInfo(AppInfoElement), Documentation(DocumentationElement), Facet(FacetResult), Restriction(Box<RestrictionResult>), Extension(ExtensionResult), SimpleContent(SimpleContentDefResult), ComplexContent(ComplexContentDefResult), Identity(IdentityResult), IdentityRef(IdentityRefResult), Selector(SelectorResult), Field(FieldResult), Wildcard(WildcardResult), Directive(DirectiveResult), Particle(ParticleResult), Skip, None,
}
Expand description

Result of finishing a frame

Variants§

§

Schema(SchemaFrameResult)

Schema document completed

§

Type(TypeFrameResult)

Type definition completed

§

Element(ElementFrameResult)

Element declaration completed

§

Attribute(AttributeFrameResult)

Attribute declaration completed

§

Group(GroupFrameResult)

Group definition completed

§

Notation(NotationResult)

Notation declaration completed

§

Assert(AssertResult)

Assert completed (XSD 1.1)

§

Alternative(AlternativeResult)

Alternative completed (XSD 1.1)

§

OpenContent(OpenContentResult)

Open content completed (XSD 1.1)

§

DefaultOpenContent(DefaultOpenContentResult)

Default open content completed (XSD 1.1)

§

Annotation(Annotation)

Annotation completed

§

AppInfo(AppInfoElement)

AppInfo element completed

§

Documentation(DocumentationElement)

Documentation element completed

§

Facet(FacetResult)

Facet completed

§

Restriction(Box<RestrictionResult>)

Restriction completed

§

Extension(ExtensionResult)

Extension completed

§

SimpleContent(SimpleContentDefResult)

Simple content completed

§

ComplexContent(ComplexContentDefResult)

Complex content completed

§

Identity(IdentityResult)

Identity constraint completed

§

IdentityRef(IdentityRefResult)

Identity constraint reference (XSD 1.1 @ref)

§

Selector(SelectorResult)

Selector completed

§

Field(FieldResult)

Field completed

§

Wildcard(WildcardResult)

Wildcard completed

§

Directive(DirectiveResult)

Composition directive completed

§

Particle(ParticleResult)

Content particle completed

§

Skip

Skip frame (error recovery)

§

None

Nothing to return (for internal frames)

Trait Implementations§

Source§

impl Debug for FrameResult

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

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> ErasedDestructor for T
where T: 'static,

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> MaybeSendSync for T

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.