#[repr(i32)]pub enum FlagStorageBackend {
Unspecified = 0,
None = 1,
Aconfigd = 2,
DeviceConfig = 3,
}Expand description
The underlying storage mechanism for the flag.
Variants§
Implementations§
Source§impl FlagStorageBackend
impl FlagStorageBackend
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Trait Implementations§
Source§impl Clone for FlagStorageBackend
impl Clone for FlagStorageBackend
Source§fn clone(&self) -> FlagStorageBackend
fn clone(&self) -> FlagStorageBackend
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FlagStorageBackend
impl Debug for FlagStorageBackend
Source§impl Default for FlagStorageBackend
impl Default for FlagStorageBackend
Source§fn default() -> FlagStorageBackend
fn default() -> FlagStorageBackend
Returns the “default value” for a type. Read more
Source§impl From<FlagStorageBackend> for i32
impl From<FlagStorageBackend> for i32
Source§fn from(value: FlagStorageBackend) -> i32
fn from(value: FlagStorageBackend) -> i32
Converts to this type from the input type.
Source§impl Hash for FlagStorageBackend
impl Hash for FlagStorageBackend
Source§impl Ord for FlagStorageBackend
impl Ord for FlagStorageBackend
Source§fn cmp(&self, other: &FlagStorageBackend) -> Ordering
fn cmp(&self, other: &FlagStorageBackend) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FlagStorageBackend
impl PartialEq for FlagStorageBackend
Source§impl PartialOrd for FlagStorageBackend
impl PartialOrd for FlagStorageBackend
impl Copy for FlagStorageBackend
impl Eq for FlagStorageBackend
impl StructuralPartialEq for FlagStorageBackend
Auto Trait Implementations§
impl Freeze for FlagStorageBackend
impl RefUnwindSafe for FlagStorageBackend
impl Send for FlagStorageBackend
impl Sync for FlagStorageBackend
impl Unpin for FlagStorageBackend
impl UnsafeUnpin for FlagStorageBackend
impl UnwindSafe for FlagStorageBackend
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more