Enum wamp::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
InvalidURI
NoSuchProcedure
ProcedureAlreadyExists
NoSuchRegistration
NoSuchSubscription
InvalidArgument
SystemShutdown
CloseRealm
GoodbyeAndOut
NotAuthorized
AuthorizationFailed
NoSuchRealm
NoSuchRole
Cancelled
OptionNotAllowed
NoEligibleCallee
OptionDisallowedDiscloseMe
NetworkFailure
NormalClose
CustomReason(URI)
Trait Implementations
impl Debug for Reason
[src]
impl PartialEq for Reason
[src]
fn eq(&self, __arg_0: &Reason) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Reason) -> bool
This method tests for !=
.
impl Eq for Reason
[src]
impl Hash for Reason
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Display for Reason
[src]
impl Serialize for Reason
[src]
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where
S: Serializer,
S: Serializer,
Serializes this value into this serializer.
impl Deserialize for Reason
[src]
fn deserialize<D>(deserializer: &mut D) -> Result<Reason, D::Error> where
D: Deserializer,
D: Deserializer,
Deserialize this value given this Deserializer
.