Enum compose_yml::v2::NetworkMode [] [src]

pub enum NetworkMode {
    Bridge,
    Host,
    None,
    Service(String),
    Container(String),
}

How should we configure the container's networking?

Variants

Use the standard Docker networking bridge.

Use the host's network interface directly.

Disable networking in the container.

Use the networking namespace associated with the named service.

Use the networking namespace associated with the named container.

Trait Implementations

impl Debug for NetworkMode
[src]

[src]

Formats the value using the given formatter.

impl Clone for NetworkMode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for NetworkMode
[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 NetworkMode
[src]

impl Display for NetworkMode
[src]

[src]

Formats the value using the given formatter. Read more

impl FromStr for NetworkMode
[src]

The associated error which can be returned from parsing.

[src]

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