#[non_exhaustive]pub enum GeneratedSysctls {
Map(Vec<GeneratedSysctl>),
List(Vec<GeneratedString>),
}Expand description
The mapping or list form selected for generated service sysctls.
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.
Map(Vec<GeneratedSysctl>)
Ordered unique-name mapping assignments, including an explicit empty mapping.
List(Vec<GeneratedString>)
Ordered unique exact strings, including an explicit empty list.
Trait Implementations§
Source§impl Clone for GeneratedSysctls
impl Clone for GeneratedSysctls
Source§fn clone(&self) -> GeneratedSysctls
fn clone(&self) -> GeneratedSysctls
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GeneratedSysctls
impl Debug for GeneratedSysctls
impl Eq for GeneratedSysctls
Source§impl PartialEq for GeneratedSysctls
impl PartialEq for GeneratedSysctls
impl StructuralPartialEq for GeneratedSysctls
Auto Trait Implementations§
impl Freeze for GeneratedSysctls
impl RefUnwindSafe for GeneratedSysctls
impl Send for GeneratedSysctls
impl Sync for GeneratedSysctls
impl Unpin for GeneratedSysctls
impl UnsafeUnpin for GeneratedSysctls
impl UnwindSafe for GeneratedSysctls
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