Enum snapper_box::entries::Control [−][src]
#[non_exhaustive]
pub enum Control {
Settings(Settings),
Namespaces(Namespaces),
}Expand description
Can contain any control structure in a CryptoBox
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Settings(Settings)Stores the default settings for the CryptoBox
This lives at the empty string ("") path in the root namespace
Tuple Fields of Settings
0: SettingsNamespaces(Namespaces)List of namespaces in the CryptoBox
This lives at the "namespaces" path in the root namespace
Tuple Fields of Namespaces
0: NamespacesTrait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Control
impl UnwindSafe for Control
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more