Struct bip_bencode::BDecodeOpt
[−]
[src]
pub struct BDecodeOpt { /* fields omitted */ }
Stores decoding options for modifying decode behavior.
Methods
impl BDecodeOpt
[src]
fn new(max_recursion: usize, check_key_sort: bool) -> BDecodeOpt
Create a new BDecodeOpt
object.
fn max_recursion(&self) -> usize
Maximum limit allowed when decoding bencode.
fn check_key_sort(&self) -> bool
Whether or not an error should be thrown for out of order dictionary keys.
Trait Implementations
impl Copy for BDecodeOpt
[src]
impl Clone for BDecodeOpt
[src]
fn clone(&self) -> BDecodeOpt
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for BDecodeOpt
[src]
fn default() -> BDecodeOpt
Returns the "default value" for a type. Read more