pub enum UnsupportedTarget<P> {
Symlink {
path: P,
},
Gitlink {
path: P,
},
}Expand description
A special Git entry that is present but cannot be followed as an ordinary repository target. Each diagnostic owns the affected path.
Variants§
Trait Implementations§
Source§impl<P: Clone> Clone for UnsupportedTarget<P>
impl<P: Clone> Clone for UnsupportedTarget<P>
Source§fn clone(&self) -> UnsupportedTarget<P>
fn clone(&self) -> UnsupportedTarget<P>
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<P: Debug> Debug for UnsupportedTarget<P>
impl<P: Debug> Debug for UnsupportedTarget<P>
impl<P: Eq> Eq for UnsupportedTarget<P>
Source§impl<'_enum, P> From<&'_enum UnsupportedTarget<P>> for UnsupportedTargetTag
impl<'_enum, P> From<&'_enum UnsupportedTarget<P>> for UnsupportedTargetTag
Source§fn from(val: &'_enum UnsupportedTarget<P>) -> UnsupportedTargetTag
fn from(val: &'_enum UnsupportedTarget<P>) -> UnsupportedTargetTag
Converts to this type from the input type.
Source§impl<P> From<UnsupportedTarget<P>> for UnsupportedTargetTag
impl<P> From<UnsupportedTarget<P>> for UnsupportedTargetTag
Source§fn from(val: UnsupportedTarget<P>) -> UnsupportedTargetTag
fn from(val: UnsupportedTarget<P>) -> UnsupportedTargetTag
Converts to this type from the input type.
Source§impl<P> IntoDiscriminant for UnsupportedTarget<P>
impl<P> IntoDiscriminant for UnsupportedTarget<P>
Source§type Discriminant = UnsupportedTargetTag
type Discriminant = UnsupportedTargetTag
Enum listing the same variants as this enum but without any data fields
fn discriminant(&self) -> Self::Discriminant
Source§impl<P: PartialEq> PartialEq for UnsupportedTarget<P>
impl<P: PartialEq> PartialEq for UnsupportedTarget<P>
impl<P: PartialEq> StructuralPartialEq for UnsupportedTarget<P>
Auto Trait Implementations§
impl<P> Freeze for UnsupportedTarget<P>where
P: Freeze,
impl<P> RefUnwindSafe for UnsupportedTarget<P>where
P: RefUnwindSafe,
impl<P> Send for UnsupportedTarget<P>where
P: Send,
impl<P> Sync for UnsupportedTarget<P>where
P: Sync,
impl<P> Unpin for UnsupportedTarget<P>where
P: Unpin,
impl<P> UnsafeUnpin for UnsupportedTarget<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for UnsupportedTarget<P>where
P: UnwindSafe,
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