pub enum PinRead {
Absent,
Unpinned {
line: usize,
},
One {
line: usize,
version: String,
},
Many {
count: usize,
},
}Expand description
What one manager’s file says about the release-kit pin.
Variants§
Absent
No line names release-kit.
Unpinned
One line names it with no version: a real state, reported and never rewritten.
One
Exactly one line pins it.
Fields
Many
More than one line names it; the count is what a refusal names.
Implementations§
Trait Implementations§
impl Eq for PinRead
impl StructuralPartialEq for PinRead
Auto Trait Implementations§
impl Freeze for PinRead
impl RefUnwindSafe for PinRead
impl Send for PinRead
impl Sync for PinRead
impl Unpin for PinRead
impl UnsafeUnpin for PinRead
impl UnwindSafe for PinRead
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.