Struct kmip_protocol::Config [−][src]
pub struct Config { /* fields omitted */ }
Expand description
Configuration settings used by the deserializer.
May in future also be used by the serializer.
Implementations
What, if any, is the configured maximum permitted response size?
Has a persistent read buffer been configured for reading response bytes into?
Specify a maximum number of response bytes to read.
Use this if you are reading data from an untrusted source. If that source then sends a very large response we will reject it rather than attempt to read it all and thus avoid possibly running out of memory.
Save the read response bytes into a buffer for use later.
Allocate a persistent buffer that can be used by a reader to store the read response bytes into. This could be to avoid allocating a buffer for every response read, or to permit logging or storing or pretty printing of the response bytes once they have been read from the source.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more