#[non_exhaustive]pub enum SysctlsForm {
Map(Vec<KeyValueEntry>),
List(Vec<Located<String>>),
}Expand description
The exact authored mapping or list form of 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<KeyValueEntry>)
Ordered mapping syntax with exact scalar value kinds and spelling retained.
List(Vec<Located<String>>)
Ordered list syntax with exact string items retained.
Trait Implementations§
Source§impl Clone for SysctlsForm
impl Clone for SysctlsForm
Source§fn clone(&self) -> SysctlsForm
fn clone(&self) -> SysctlsForm
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 SysctlsForm
impl Debug for SysctlsForm
impl Eq for SysctlsForm
Source§impl PartialEq for SysctlsForm
impl PartialEq for SysctlsForm
impl StructuralPartialEq for SysctlsForm
Auto Trait Implementations§
impl Freeze for SysctlsForm
impl RefUnwindSafe for SysctlsForm
impl Send for SysctlsForm
impl Sync for SysctlsForm
impl Unpin for SysctlsForm
impl UnsafeUnpin for SysctlsForm
impl UnwindSafe for SysctlsForm
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