#[non_exhaustive]#[repr(i32)]pub enum SysVarOpt {
ReadOnly = 512,
NoServerVariable = 1_024,
NoCliOption = 2_048,
NoCliArg = 4_096,
RequiredCliArg = 0,
OptionalCliArg = 8_192,
Deprecated = 16_384,
}
Expand description
Possible flags for plugin variables
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.
ReadOnly = 512
Variable is read only
NoServerVariable = 1_024
Variable is not a server variable
NoCliOption = 2_048
No command line option
NoCliArg = 4_096
No argument for the command line
RequiredCliArg = 0
Required CLI argument
OptionalCliArg = 8_192
Optional CLI argument
Deprecated = 16_384
Variable is deprecated
Implementations§
Trait Implementations§
source§impl PartialEq for SysVarOpt
impl PartialEq for SysVarOpt
impl Copy for SysVarOpt
impl Eq for SysVarOpt
impl StructuralPartialEq for SysVarOpt
Auto Trait Implementations§
impl RefUnwindSafe for SysVarOpt
impl Send for SysVarOpt
impl Sync for SysVarOpt
impl Unpin for SysVarOpt
impl UnwindSafe for SysVarOpt
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