pub type OwnedPolicy = Policy<Vec<(AttributeTag, AttributeValue)>>;
Expand description

A policy with a vector of attributes, fully allocated and owned. This is in contrast to a policy which is lazily read from a read source. The latter is useful for efficiency, this type is more useful for testing since the values are easier to construct.

Trait Implementations

Attempt to read a structure from a given source, failing if an error occurs during deserialization or reading. Read more

Attempt to write the structure into the provided writer, failing if only part of the structure could be written. Read more