Enum lazy_bencoding::Token [] [src]

pub enum Token<'a> {
    ByteString(&'a [u8]),
    Integer(&'a [u8]),
    ListStart,
    DictStart,
    End,
}

Token types of BEncoding

Returned by impl<'a> Iterator for BEncoded<'a>

Variants

Trait Implementations

impl<'a> Eq for Token<'a>
[src]

impl<'a> PartialEq for Token<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Debug for Token<'a>
[src]

Formats the value using the given formatter.