Enum readme_sync::BuildMetaDocsError[][src]

pub enum BuildMetaDocsError {
    NonStringDocInput(Meta),
    NonListCfgAttrInput(Meta),
    CfgAttrWithoutPredicate(Meta),
    CfgAttrWithoutAttribute(Meta),
    CfgAttrLiteralAttribute(Meta),
    PredicateError(EvalCfgPredicateError),
}

An error which can occur when building documentation from meta-attribute.

Variants

NonStringDocInput(Meta)

Non-string doc attribute input.

NonListCfgAttrInput(Meta)

Non-list cfg_attr attribute input.

CfgAttrWithoutPredicate(Meta)

cfg_attr without predicate argument.

CfgAttrWithoutAttribute(Meta)

cfg_attr has no attributes.

CfgAttrLiteralAttribute(Meta)

cfg_attr literal attribute.

PredicateError(EvalCfgPredicateError)

Predicate evaluation error.

Trait Implementations

impl Clone for BuildMetaDocsError[src]

impl Debug for BuildMetaDocsError[src]

impl Display for BuildMetaDocsError[src]

impl Eq for BuildMetaDocsError[src]

impl Error for BuildMetaDocsError[src]

impl From<BuildMetaDocsError> for BuildAttrDocsError[src]

impl From<EvalCfgPredicateError> for BuildMetaDocsError[src]

impl PartialEq<BuildMetaDocsError> for BuildMetaDocsError[src]

impl StructuralEq for BuildMetaDocsError[src]

impl StructuralPartialEq for BuildMetaDocsError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.