#[non_exhaustive]pub enum ConfigFileErrorLayer {
Project,
Workspace,
}Expand description
Which settings layer a refused file belongs to: the project’s own file or its workspace’s.
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.
Trait Implementations§
Source§impl Clone for ConfigFileErrorLayer
impl Clone for ConfigFileErrorLayer
Source§fn clone(&self) -> ConfigFileErrorLayer
fn clone(&self) -> ConfigFileErrorLayer
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 ConfigFileErrorLayer
Source§impl Debug for ConfigFileErrorLayer
impl Debug for ConfigFileErrorLayer
Source§impl<'de> Deserialize<'de> for ConfigFileErrorLayer
impl<'de> Deserialize<'de> for ConfigFileErrorLayer
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConfigFileErrorLayer, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConfigFileErrorLayer, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ConfigFileErrorLayer
Source§impl PartialEq for ConfigFileErrorLayer
impl PartialEq for ConfigFileErrorLayer
Source§impl Serialize for ConfigFileErrorLayer
impl Serialize for ConfigFileErrorLayer
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ConfigFileErrorLayer
Auto Trait Implementations§
impl Forget for ConfigFileErrorLayer
impl Freeze for ConfigFileErrorLayer
impl Move for ConfigFileErrorLayer
impl RefUnwindSafe for ConfigFileErrorLayer
impl Send for ConfigFileErrorLayer
impl Sync for ConfigFileErrorLayer
impl Unpin for ConfigFileErrorLayer
impl UnsafeUnpin for ConfigFileErrorLayer
impl UnwindSafe for ConfigFileErrorLayer
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