pub struct ConfigLayerEntry {
pub source: ConfigLayerSource,
pub metadata: ConfigLayerMetadata,
pub disabled_reason: Option<LayerDisabledReason>,
pub error: Option<ConfigLayerLoadError>,
/* private fields */
}Expand description
A single layer of configuration.
Fields§
§source: ConfigLayerSourceSource of this layer
metadata: ConfigLayerMetadataStable metadata for this layer
disabled_reason: Option<LayerDisabledReason>Optional reason the layer was disabled
error: Option<ConfigLayerLoadError>Optional error attached to this layer
Implementations§
Source§impl ConfigLayerEntry
impl ConfigLayerEntry
pub fn is_enabled(&self) -> bool
Trait Implementations§
Source§impl Clone for ConfigLayerEntry
impl Clone for ConfigLayerEntry
Source§impl Debug for ConfigLayerEntry
impl Debug for ConfigLayerEntry
Source§impl PartialEq for ConfigLayerEntry
impl PartialEq for ConfigLayerEntry
impl StructuralPartialEq for ConfigLayerEntry
Auto Trait Implementations§
impl Freeze for ConfigLayerEntry
impl RefUnwindSafe for ConfigLayerEntry
impl Send for ConfigLayerEntry
impl Sync for ConfigLayerEntry
impl Unpin for ConfigLayerEntry
impl UnsafeUnpin for ConfigLayerEntry
impl UnwindSafe for ConfigLayerEntry
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