pub enum EnvTriState {
Default,
ForcedOff,
ForcedOn,
}Expand description
Tri-state env override used by paths that distinguish unset from forced off.
Variants§
Trait Implementations§
Source§impl Clone for EnvTriState
impl Clone for EnvTriState
Source§fn clone(&self) -> EnvTriState
fn clone(&self) -> EnvTriState
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 EnvTriState
Source§impl Debug for EnvTriState
impl Debug for EnvTriState
Source§impl<'de> Deserialize<'de> for EnvTriState
impl<'de> Deserialize<'de> for EnvTriState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EnvTriState
Source§impl PartialEq for EnvTriState
impl PartialEq for EnvTriState
Source§fn eq(&self, other: &EnvTriState) -> bool
fn eq(&self, other: &EnvTriState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EnvTriState
impl Serialize for EnvTriState
impl StructuralPartialEq for EnvTriState
Auto Trait Implementations§
impl Freeze for EnvTriState
impl RefUnwindSafe for EnvTriState
impl Send for EnvTriState
impl Sync for EnvTriState
impl Unpin for EnvTriState
impl UnsafeUnpin for EnvTriState
impl UnwindSafe for EnvTriState
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