pub enum RecordState {
Present,
Absent,
Unreadable(Error),
}Expand description
What reading a mod’s _state install record found.
The input check_removable_from and plan_uninstall_batch_from decide
from, so a caller that reads the record itself can hand over what it found.
Variants§
Present
The record exists and parses.
Absent
There is no record.
Unreadable(Error)
The record exists but could not be read or parsed, for this reason.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RecordState
impl !UnwindSafe for RecordState
impl Forget for RecordState
impl Freeze for RecordState
impl Move for RecordState
impl Send for RecordState
impl Sync for RecordState
impl Unpin for RecordState
impl UnsafeUnpin for RecordState
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