pub enum FeatureCheck {
ReadWrite,
ReadOnly(Vec<String>),
}Expand description
Result of checking repository feature compatibility.
Variants§
ReadWrite
All features are understood; full read-write access.
ReadOnly(Vec<String>)
Unknown read-only-compatible features present; read access only. The vec contains the unknown feature names.
Trait Implementations§
Source§impl Clone for FeatureCheck
impl Clone for FeatureCheck
Source§fn clone(&self) -> FeatureCheck
fn clone(&self) -> FeatureCheck
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FeatureCheck
impl Debug for FeatureCheck
impl Eq for FeatureCheck
Source§impl PartialEq for FeatureCheck
impl PartialEq for FeatureCheck
Source§fn eq(&self, other: &FeatureCheck) -> bool
fn eq(&self, other: &FeatureCheck) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FeatureCheck
Auto Trait Implementations§
impl Freeze for FeatureCheck
impl RefUnwindSafe for FeatureCheck
impl Send for FeatureCheck
impl Sync for FeatureCheck
impl Unpin for FeatureCheck
impl UnsafeUnpin for FeatureCheck
impl UnwindSafe for FeatureCheck
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