Enum rhq_core::query::Query [] [src]

pub enum Query {
    Url(Url),
    Scp(ScpPath),
    Path(String),
}

Represents query from user.

Available patterns are:

  • <scheme>://[<username>[:<password>]@]<host>/<path-to-repo>.git
    • Available schemes are: http[s], ssh and git.
  • <username>@<host>:<path-to-repo>
    • Equivalent to ssh://<username>@<host>/<path-to-repo>.git
  • <path-to-repo>

Variants

Methods

impl Query
[src]

[src]

Returns the host name if available.

[src]

Trait Implementations

impl FromStr for Query
[src]

The associated error which can be returned from parsing.

[src]

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