Type Definition benko::BMap [−][src]
type BMap = BMapImpl;
A Bencode Dictionary of ByteString keys and any other bencode as values, (format: “d[bencode items]e”)
type BMap = BMapImpl;
A Bencode Dictionary of ByteString keys and any other bencode as values, (format: “d[bencode items]e”)
impl BMap
[src]pub fn get(&self, key: &BStr) -> Option<Benc>
[src]pub fn insert(&mut self, key: BStr, val: Benc)
[src]pub fn contains_key(&self, key: &BStr) -> bool
[src]pub fn new() -> Self
[src]pub fn len(&self) -> usize
[src]pub fn items(&self) -> Vec<(BStr, Benc)>
[src]