pub struct LinkMapOverlay {
pub schema_version: u32,
pub entries: Vec<OverlayEntry>,
}Expand description
Parsed overlay file.
Fields§
§schema_version: u32§entries: Vec<OverlayEntry>Implementations§
Source§impl LinkMapOverlay
impl LinkMapOverlay
Sourcepub fn load_optional(source_root: &Path) -> Result<Option<Self>, LinkMapError>
pub fn load_optional(source_root: &Path) -> Result<Option<Self>, LinkMapError>
Read <source_root>/.private/link-map.overrides.yaml if it exists.
Missing file is Ok(None); any other failure (schema mismatch, parse
error, duplicate id) bubbles as a LinkMapError so the install
pipeline refuses to start rather than silently falling back to the
tracked map.
Trait Implementations§
Source§impl Clone for LinkMapOverlay
impl Clone for LinkMapOverlay
Source§impl Debug for LinkMapOverlay
impl Debug for LinkMapOverlay
Source§impl<'de> Deserialize<'de> for LinkMapOverlay
impl<'de> Deserialize<'de> for LinkMapOverlay
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
Auto Trait Implementations§
impl Freeze for LinkMapOverlay
impl RefUnwindSafe for LinkMapOverlay
impl Send for LinkMapOverlay
impl Sync for LinkMapOverlay
impl Unpin for LinkMapOverlay
impl UnsafeUnpin for LinkMapOverlay
impl UnwindSafe for LinkMapOverlay
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