Enum docker_compose::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 Eq for HostVolume
[src]

impl PartialEq for HostVolume
[src]

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

This method tests for !=.

impl Clone for HostVolume
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for HostVolume
[src]

Formats the value using the given formatter.

impl Display for HostVolume
[src]

Formats the value using the given formatter.

impl FromStr for HostVolume
[src]

The associated error which can be returned from parsing.

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