pub enum Source {
Index(String),
Prefix {
prefix: String,
keep: bool,
},
File(String),
}Expand description
Where a set of item names comes from.
Variants§
Index(String)
The members of a set, sorted set, or list key.
Prefix
Every key in the keyspace under a prefix.
Fields
File(String)
One name per line, from a file (an archive listing, an export).
Implementations§
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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