[][src]Struct cargo::sources::directory::DirectorySource

pub struct DirectorySource<'cfg> { /* fields omitted */ }

Methods

impl<'cfg> DirectorySource<'cfg>[src]

pub fn new(
    path: &Path,
    id: SourceId,
    config: &'cfg Config
) -> DirectorySource<'cfg>
[src]

Trait Implementations

impl<'cfg> Source for DirectorySource<'cfg>[src]

fn replaced_source_id(&self) -> SourceId[src]

Returns the replaced SourceId corresponding to this source.

fn query_vec(&mut self, dep: &Dependency) -> CargoResult<Vec<Summary>>[src]

fn download_now(
    self: Box<Self>,
    package: PackageId,
    config: &Config
) -> CargoResult<Package> where
    Self: Sized
[src]

fn is_replaced(&self) -> bool[src]

Returns whether a source is being replaced by another here.

impl<'cfg> Debug for DirectorySource<'cfg>[src]

Auto Trait Implementations

impl<'cfg> !Sync for DirectorySource<'cfg>

impl<'cfg> !Send for DirectorySource<'cfg>

impl<'cfg> Unpin for DirectorySource<'cfg>

impl<'cfg> !RefUnwindSafe for DirectorySource<'cfg>

impl<'cfg> !UnwindSafe for DirectorySource<'cfg>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,