pub enum Scan {
None,
Unpinned(usize),
One(Pin),
Many(usize),
}Expand description
What a scan of flake.nix found.
Variants§
None
No line names the release-kit input.
Unpinned(usize)
One line names the input with no tag: a real state, reported and never rewritten. Carries the one-based line.
One(Pin)
Exactly one pinned line.
Many(usize)
More than one line matches; the count is what the refusal names.
Trait Implementations§
impl Eq for Scan
impl StructuralPartialEq for Scan
Auto Trait Implementations§
impl Freeze for Scan
impl RefUnwindSafe for Scan
impl Send for Scan
impl Sync for Scan
impl Unpin for Scan
impl UnsafeUnpin for Scan
impl UnwindSafe for Scan
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