Enum wamp::MatchingPolicy [] [src]

pub enum MatchingPolicy {
    Prefix,
    Wildcard,
    Strict,
}

The policies that can be used for matching a uri pattern.

Variants

The given pattern matches any URI that has it as a prefix

The given pattern contains at least one 'wildcard' segment which can match any segment at the same location

The given pattern only matches URIs that are identical.

Trait Implementations

impl Copy for MatchingPolicy
[src]

impl Clone for MatchingPolicy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MatchingPolicy
[src]

Formats the value using the given formatter.

impl PartialEq for MatchingPolicy
[src]

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

This method tests for !=.

impl Default for MatchingPolicy
[src]

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

impl Serialize for MatchingPolicy
[src]

Serializes this value into this serializer.

impl Deserialize for MatchingPolicy
[src]

Deserialize this value given this Deserializer.