binver/
config.rs

1/// Configuration passed to a read function
2#[derive(Default, Clone)]
3pub struct ReadConfig {
4    /// Set this to `true` to make the serialize functions return `ReadError::TrailingBytes` if the reader is not empty.
5    pub error_on_trailing_bytes: bool,
6}