Enum compose_yml::v2::Protocol [] [src]

pub enum Protocol {
    Tcp,
    Udp,
}

An IP protocol

Variants

Transmission Control Protocol, the default.

User Datagram Protocol.

Trait Implementations

impl Debug for Protocol
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for Protocol
[src]

impl Clone for Protocol
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Protocol
[src]

impl PartialEq for Protocol
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Default for Protocol
[src]

[src]

Returns the "default value" for a type. Read more

impl Display for Protocol
[src]

[src]

Formats the value using the given formatter. Read more

impl FromStr for Protocol
[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 Protocol

impl Sync for Protocol