Enum wampire::Reason[][src]

pub enum Reason {
    InvalidURI,
    NoSuchProcedure,
    ProcedureAlreadyExists,
    NoSuchRegistration,
    NoSuchSubscription,
    InvalidArgument,
    SystemShutdown,
    CloseRealm,
    GoodbyeAndOut,
    NotAuthorized,
    AuthorizationFailed,
    NoSuchRealm,
    NoSuchRole,
    Cancelled,
    OptionNotAllowed,
    NoEligibleCallee,
    OptionDisallowedDiscloseMe,
    NetworkFailure,
    NormalClose,
    CustomReason(URI),
}

Variants

Trait Implementations

impl Hash for Reason
[src]

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

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

impl Eq for Reason
[src]

impl PartialEq for Reason
[src]

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

This method tests for !=.

impl Debug for Reason
[src]

Formats the value using the given formatter. Read more

impl Display for Reason
[src]

Formats the value using the given formatter. Read more

impl Serialize for Reason
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for Reason
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Reason

impl Sync for Reason