pub enum FragmentFault {
UnknownKey,
RootCount(usize),
RootIsSlot,
UnknownSlot(String),
}Expand description
Why a fragment could not be instantiated.
Variants§
UnknownKey
No fragment is declared under the requested key.
RootCount(usize)
The body has a number of roots other than one.
RootIsSlot
The single root is itself a slot, so the instance would have no root of its own once the slot is filled.
UnknownSlot(String)
The caller passed a child for a slot the body does not declare.
Trait Implementations§
Source§impl Debug for FragmentFault
impl Debug for FragmentFault
Source§impl Display for FragmentFault
impl Display for FragmentFault
Source§impl PartialEq for FragmentFault
impl PartialEq for FragmentFault
Source§fn eq(&self, other: &FragmentFault) -> bool
fn eq(&self, other: &FragmentFault) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FragmentFault
impl StructuralPartialEq for FragmentFault
Auto Trait Implementations§
impl Freeze for FragmentFault
impl RefUnwindSafe for FragmentFault
impl Send for FragmentFault
impl Sync for FragmentFault
impl Unpin for FragmentFault
impl UnsafeUnpin for FragmentFault
impl UnwindSafe for FragmentFault
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
§impl<T> DynEq for T
impl<T> DynEq for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.