Enum conserve::BandSelectionPolicy
source · pub enum BandSelectionPolicy {
LatestClosed,
Latest,
Specified(BandId),
}
Expand description
Describes how to select a band from an archive.
Variants§
LatestClosed
Open the latest complete band.
Latest
Open the latest band, regardless of whether it’s complete.
Specified(BandId)
Open the band with the specified id.
Trait Implementations§
source§impl Clone for BandSelectionPolicy
impl Clone for BandSelectionPolicy
source§fn clone(&self) -> BandSelectionPolicy
fn clone(&self) -> BandSelectionPolicy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BandSelectionPolicy
impl Debug for BandSelectionPolicy
source§impl PartialEq for BandSelectionPolicy
impl PartialEq for BandSelectionPolicy
source§fn eq(&self, other: &BandSelectionPolicy) -> bool
fn eq(&self, other: &BandSelectionPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BandSelectionPolicy
impl StructuralEq for BandSelectionPolicy
impl StructuralPartialEq for BandSelectionPolicy
Auto Trait Implementations§
impl RefUnwindSafe for BandSelectionPolicy
impl Send for BandSelectionPolicy
impl Sync for BandSelectionPolicy
impl Unpin for BandSelectionPolicy
impl UnwindSafe for BandSelectionPolicy
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more