Enum openc2::Target [] [src]

pub enum Target {
    File(File),
    IpAddress(IpAddr),
    Device(Device),
    // some variants omitted
}

Variants

Trait Implementations

impl Debug for Target
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Target
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl From<File> for Target
[src]

Convert into File variant.

[src]

Performs the conversion.

impl From<IpAddr> for Target
[src]

Convert into IpAddress variant.

[src]

Performs the conversion.

impl From<Device> for Target
[src]

Convert into Device variant.

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Target

impl Sync for Target