pub enum Action {
Add(Box<dyn EntrySource>),
Remove(EntryName),
}Expand description
An action in a transaction for an alpm-db.
This may be an addition or a removal.
Variants§
Add(Box<dyn EntrySource>)
A package is added.
Tracks data that is lazy-loaded from an implementation of EntrySource.
Remove(EntryName)
A package is removed.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Action
impl !Send for Action
impl !Sync for Action
impl !UnwindSafe for Action
impl Freeze for Action
impl Unpin for Action
impl UnsafeUnpin for Action
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