#[non_exhaustive]pub enum EnvironmentFileMode {
Compose,
Raw,
}Expand description
Parser mode selected by one effective Compose env_file declaration.
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.
Compose
Compose syntax including quote, escape, and interpolation handling.
Raw
Compose format: raw; retain the right-hand side literally.
Trait Implementations§
Source§impl Clone for EnvironmentFileMode
impl Clone for EnvironmentFileMode
Source§fn clone(&self) -> EnvironmentFileMode
fn clone(&self) -> EnvironmentFileMode
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 moreimpl Copy for EnvironmentFileMode
Source§impl Debug for EnvironmentFileMode
impl Debug for EnvironmentFileMode
impl Eq for EnvironmentFileMode
Source§impl Hash for EnvironmentFileMode
impl Hash for EnvironmentFileMode
Source§impl PartialEq for EnvironmentFileMode
impl PartialEq for EnvironmentFileMode
impl StructuralPartialEq for EnvironmentFileMode
Auto Trait Implementations§
impl Freeze for EnvironmentFileMode
impl RefUnwindSafe for EnvironmentFileMode
impl Send for EnvironmentFileMode
impl Sync for EnvironmentFileMode
impl Unpin for EnvironmentFileMode
impl UnsafeUnpin for EnvironmentFileMode
impl UnwindSafe for EnvironmentFileMode
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