#[non_exhaustive]pub enum OperatorSet {
None,
Braced,
Basic,
Compose,
DotenvExpand,
}Expand description
Variable-reference forms and operators eligible under one expansion policy.
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.
None
No variable references are eligible.
Braced
Only braced variables such as ${VAR}; no short or operator forms.
Basic
$VAR and ${VAR} without operators.
Compose
The full operator set, including nested defaults.
DotenvExpand
dotenv-expand-style variables and operators, including nested forms.
Trait Implementations§
Source§impl Clone for OperatorSet
impl Clone for OperatorSet
impl Copy for OperatorSet
Source§impl Debug for OperatorSet
impl Debug for OperatorSet
impl Eq for OperatorSet
Source§impl Hash for OperatorSet
impl Hash for OperatorSet
Source§impl PartialEq for OperatorSet
impl PartialEq for OperatorSet
impl StructuralPartialEq for OperatorSet
Auto Trait Implementations§
impl Freeze for OperatorSet
impl RefUnwindSafe for OperatorSet
impl Send for OperatorSet
impl Sync for OperatorSet
impl Unpin for OperatorSet
impl UnsafeUnpin for OperatorSet
impl UnwindSafe for OperatorSet
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