pub enum VersionFallback {
Default,
Latest,
Error,
}Expand description
Fallback behavior when version is not found
Variants§
Trait Implementations§
Source§impl Clone for VersionFallback
impl Clone for VersionFallback
Source§fn clone(&self) -> VersionFallback
fn clone(&self) -> VersionFallback
Returns a duplicate 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 VersionFallback
impl Debug for VersionFallback
Source§impl Default for VersionFallback
impl Default for VersionFallback
Source§fn default() -> VersionFallback
fn default() -> VersionFallback
Returns the “default value” for a type. Read more
Source§impl PartialEq for VersionFallback
impl PartialEq for VersionFallback
impl Copy for VersionFallback
impl Eq for VersionFallback
impl StructuralPartialEq for VersionFallback
Auto Trait Implementations§
impl Freeze for VersionFallback
impl RefUnwindSafe for VersionFallback
impl Send for VersionFallback
impl Sync for VersionFallback
impl Unpin for VersionFallback
impl UnwindSafe for VersionFallback
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.