mirror of https://git.sr.ht/~stygianentity/bincode
Added Clone impl to Config
This commit is contained in:
parent
c06b18abed
commit
a2d54866d4
|
|
@ -95,6 +95,7 @@ enum EndianOption {
|
|||
///
|
||||
/// When a byte limit is set, bincode will return `Err` on any deserialization that goes over the limit, or any
|
||||
/// serialization that goes over the limit.
|
||||
#[derive(Clone)]
|
||||
pub struct Config {
|
||||
limit: LimitOption,
|
||||
endian: EndianOption,
|
||||
|
|
|
|||
Loading…
Reference in New Issue