Enum sentry_types::Scheme[][src]

pub enum Scheme {
    Http,
    Https,
}

Represents the scheme of an url http/https.

This holds schemes that are supported by sentry and relays.

Variants

unencrypted HTTP scheme (should not be used)

encrypted HTTPS scheme

Methods

impl Scheme
[src]

Returns the default port for this scheme.

Trait Implementations

impl Copy for Scheme
[src]

impl Clone for Scheme
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Scheme
[src]

impl PartialEq for Scheme
[src]

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

This method tests for !=.

impl Ord for Scheme
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialOrd for Scheme
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Hash for Scheme
[src]

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

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

impl Debug for Scheme
[src]

Formats the value using the given formatter. Read more

impl Display for Scheme
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Scheme

impl Sync for Scheme