Enum compose_yml::v2::HostVolume [] [src]

pub enum HostVolume {
    Path(PathBuf),
    UserRelativePath(PathBuf),
    Name(String),
}

Where can we find the volume we want to map into a container?

Variants

This volume corresponds to a path on the host. It may be a relative or absolute path.

A path relative to the current user's home directory on the host. Must be a relative path.

This volume corresponds to a volume named in the top-level volumes section.

Trait Implementations

impl Debug for HostVolume
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for HostVolume
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for HostVolume
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for HostVolume
[src]

impl Display for HostVolume
[src]

[src]

Formats the value using the given formatter. Read more

impl FromStr for HostVolume
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

impl Send for HostVolume

impl Sync for HostVolume