Struct binver::ReadConfig [−][src]
pub struct ReadConfig { pub error_on_trailing_bytes: bool, }
Expand description
Configuration passed to a read function
Fields
error_on_trailing_bytes: bool
Set this to true
to make the serialize functions return ReadError::TrailingBytes
if the reader is not empty.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ReadConfig
impl Send for ReadConfig
impl Sync for ReadConfig
impl Unpin for ReadConfig
impl UnwindSafe for ReadConfig
Blanket Implementations
Mutably borrows from an owned value. Read more