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