RawFinder

Trait RawFinder 

Source
pub trait RawFinder {
    // Required method
    fn find_first(key: &str, arg: &[u8]) -> Option<Vec<u8>>;
}
Expand description

Dictionary value (raw format) finder in bencoded string.

Required Methods§

Source

fn find_first(key: &str, arg: &[u8]) -> Option<Vec<u8>>

Find first value for defined key in bencoded string with dictionaries. Value is returned in raw format.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§