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]
impl Hash for Reason
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &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[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Eq for Reason
[src]
impl Eq for Reason
impl PartialEq for Reason
[src]
impl PartialEq for Reason
fn eq(&self, other: &Reason) -> bool
[src]
fn eq(&self, other: &Reason) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Reason) -> bool
[src]
fn ne(&self, other: &Reason) -> bool
This method tests for !=
.
impl Debug for Reason
[src]
impl Debug for Reason
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Reason
[src]
impl Display for Reason
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Serialize for Reason
[src]
impl Serialize for Reason
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for Reason
[src]
impl<'de> Deserialize<'de> for Reason
fn deserialize<D>(deserializer: D) -> Result<Reason, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Reason, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more