Enum libstrophe::ErrorType
source · #[repr(u32)]pub enum ErrorType {
Show 24 variants
XMPP_SE_BAD_FORMAT,
XMPP_SE_BAD_NS_PREFIX,
XMPP_SE_CONFLICT,
XMPP_SE_CONN_TIMEOUT,
XMPP_SE_HOST_GONE,
XMPP_SE_HOST_UNKNOWN,
XMPP_SE_IMPROPER_ADDR,
XMPP_SE_INTERNAL_SERVER_ERROR,
XMPP_SE_INVALID_FROM,
XMPP_SE_INVALID_ID,
XMPP_SE_INVALID_NS,
XMPP_SE_INVALID_XML,
XMPP_SE_NOT_AUTHORIZED,
XMPP_SE_POLICY_VIOLATION,
XMPP_SE_REMOTE_CONN_FAILED,
XMPP_SE_RESOURCE_CONSTRAINT,
XMPP_SE_RESTRICTED_XML,
XMPP_SE_SEE_OTHER_HOST,
XMPP_SE_SYSTEM_SHUTDOWN,
XMPP_SE_UNDEFINED_CONDITION,
XMPP_SE_UNSUPPORTED_ENCODING,
XMPP_SE_UNSUPPORTED_STANZA_TYPE,
XMPP_SE_UNSUPPORTED_VERSION,
XMPP_SE_XML_NOT_WELL_FORMED,
}
Variants§
XMPP_SE_BAD_FORMAT
XMPP_SE_BAD_NS_PREFIX
XMPP_SE_CONFLICT
XMPP_SE_CONN_TIMEOUT
XMPP_SE_HOST_GONE
XMPP_SE_HOST_UNKNOWN
XMPP_SE_IMPROPER_ADDR
XMPP_SE_INTERNAL_SERVER_ERROR
XMPP_SE_INVALID_FROM
XMPP_SE_INVALID_ID
XMPP_SE_INVALID_NS
XMPP_SE_INVALID_XML
XMPP_SE_NOT_AUTHORIZED
XMPP_SE_POLICY_VIOLATION
XMPP_SE_REMOTE_CONN_FAILED
XMPP_SE_RESOURCE_CONSTRAINT
XMPP_SE_RESTRICTED_XML
XMPP_SE_SEE_OTHER_HOST
XMPP_SE_SYSTEM_SHUTDOWN
XMPP_SE_UNDEFINED_CONDITION
XMPP_SE_UNSUPPORTED_ENCODING
XMPP_SE_UNSUPPORTED_STANZA_TYPE
XMPP_SE_UNSUPPORTED_VERSION
XMPP_SE_XML_NOT_WELL_FORMED
Trait Implementations§
source§impl Clone for xmpp_error_type_t
impl Clone for xmpp_error_type_t
source§fn clone(&self) -> xmpp_error_type_t
fn clone(&self) -> xmpp_error_type_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for xmpp_error_type_t
impl Debug for xmpp_error_type_t
source§impl Hash for xmpp_error_type_t
impl Hash for xmpp_error_type_t
source§impl PartialEq<xmpp_error_type_t> for xmpp_error_type_t
impl PartialEq<xmpp_error_type_t> for xmpp_error_type_t
source§fn eq(&self, other: &xmpp_error_type_t) -> bool
fn eq(&self, other: &xmpp_error_type_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for xmpp_error_type_t
impl Eq for xmpp_error_type_t
impl StructuralEq for xmpp_error_type_t
impl StructuralPartialEq for xmpp_error_type_t
Auto Trait Implementations§
impl RefUnwindSafe for xmpp_error_type_t
impl Send for xmpp_error_type_t
impl Sync for xmpp_error_type_t
impl Unpin for xmpp_error_type_t
impl UnwindSafe for xmpp_error_type_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more