[][src]Enum yamlette::reader::reader::BlockType

pub enum BlockType<D> {
    Alias(Marker),
    DirectiveTag((Marker, Marker)),
    DirectiveYaml((u8, u8)),
    DocStart,
    DocEnd,
    BlockMap(IdOption<Marker>, Option<Marker>),
    Literal(Marker),
    Byte(u8usize),
    Node(Node),
    Error(Cow<'static, str>, usize),
    Warning(Cow<'static, str>, usize),
    StreamEnd,
    Datum(D),
}

Variants

Alias(Marker)DirectiveTag((Marker, Marker))DirectiveYaml((u8, u8))DocStartDocEndBlockMap(IdOption<Marker>, Option<Marker>)Literal(Marker)Byte(u8usize)Node(Node)Error(Cow<'static, str>, usize)Warning(Cow<'static, str>, usize)StreamEndDatum(D)

Trait Implementations

impl<D: Debug> Debug for BlockType<D>[src]

Auto Trait Implementations

impl<D> Send for BlockType<D> where
    D: Send

impl<D> Sync for BlockType<D> where
    D: Sync

Blanket Implementations

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

impl<T> From<T> for T[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.

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

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

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