BencodeValueBorrowed

Type Alias BencodeValueBorrowed 

Source
pub type BencodeValueBorrowed<'a> = BencodeValue<ByteBuf<'a>>;

Aliased Type§

pub enum BencodeValueBorrowed<'a> {
    Bytes(ByteBuf<'a>),
    Integer(i64),
    List(Vec<BencodeValue<ByteBuf<'a>>>),
    Dict(HashMap<ByteBuf<'a>, BencodeValue<ByteBuf<'a>>>),
}

Variants§

§

Bytes(ByteBuf<'a>)

§

Integer(i64)

§

List(Vec<BencodeValue<ByteBuf<'a>>>)

§

Dict(HashMap<ByteBuf<'a>, BencodeValue<ByteBuf<'a>>>)