redfish_codegen/models/storage_controller/v1_7_0/
ana_access_state.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum ANAAccessState {
6    /// Commands processed by a controller provide optimized access to any namespace in the ANA group.
7    Optimized,
8    /// Commands processed by a controller that reports this state for an ANA Group provide non-optimized access characteristics, such as lower performance or non-optimal use of subsystem resources, to any namespace in the ANA Group.
9    NonOptimized,
10    /// Namespaces in this group are inaccessible.  Commands are not able to access user data of namespaces in the ANA Group.
11    Inaccessible,
12    /// The group is persistently inaccessible.  Commands are persistently not able to access user data of namespaces in the ANA Group.
13    PersistentLoss,
14}
15
16#[allow(clippy::derivable_impls)]
17impl Default for ANAAccessState {
18     fn default() -> ANAAccessState {
19        ANAAccessState::Optimized
20     }
21}
22
23impl crate::Metadata<'static> for ANAAccessState {
24    const JSON_SCHEMA: &'static str = "StorageController.v1_7_0.json";
25}