Enum ota_update_client::CrateSet
source · pub enum CrateSet {
Include(BTreeSet<String>),
Exclude(BTreeSet<String>),
}
Expand description
An enum used for specifying which crate files to download from an update build’s listing.
To download all crates, pass an empty Exclude
set.
Variants§
Include(BTreeSet<String>)
The set of crates to include, i.e., only these crates will be downloaded.
Exclude(BTreeSet<String>)
The set of crates to exclude, i.e., all crates except for these will be downloaded.
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CrateSet
impl Send for CrateSet
impl Sync for CrateSet
impl Unpin for CrateSet
impl UnwindSafe for CrateSet
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