[−][src]Enum ruma_client_api::error::ErrorKind
An enum for the error kind. Items may contain additional information.
Variants
M_FORBIDDEN
M_UNKNOWN_TOKEN
Fields of UnknownToken
M_MISSING_TOKEN
M_BAD_JSON
M_NOT_JSON
M_NOT_FOUND
M_LIMIT_EXCEEDED
Fields of LimitExceeded
M_UNKNOWN
M_UNRECOGNIZED
M_UNAUTHORIZED
M_USER_DEACTIVATED
M_USER_IN_USE
M_INVALID_USERNAME
M_ROOM_IN_USE
M_INVALID_ROOM_STATE
M_THREEPID_IN_USE
M_THREEPID_NOT_FOUND
M_THREEPID_AUTH_FAILED
M_THREEPID_DENIED
M_SERVER_NOT_TRUSTED
M_UNSUPPORTED_ROOM_VERSION
M_INCOMPATIBLE_ROOM_VERSION
Fields of IncompatibleRoomVersion
room_version: RoomVersionIdThe room's version.
M_BAD_STATE
M_GUEST_ACCESS_FORBIDDEN
M_CAPTCHA_NEEDED
M_CAPTCHA_INVALID
M_MISSING_PARAM
M_INVALID_PARAM
M_TOO_LARGE
M_EXCLUSIVE
M_RESOURCE_LIMIT_EXCEEDED
Fields of ResourceLimitExceeded
admin_contact: StringA URI giving a contact method for the server administrator.
M_CANNOT_LEAVE_SERVER_NOTICE_ROOM
Trait Implementations
impl AsRef<str> for ErrorKind[src]
impl Clone for ErrorKind[src]
impl Debug for ErrorKind[src]
impl<'de> Deserialize<'de> for ErrorKind[src]
pub fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
impl Display for ErrorKind[src]
impl Eq for ErrorKind[src]
impl PartialEq<ErrorKind> for ErrorKind[src]
impl Serialize for ErrorKind[src]
impl StructuralEq for ErrorKind[src]
impl StructuralPartialEq for ErrorKind[src]
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind[src]
impl Send for ErrorKind[src]
impl Sync for ErrorKind[src]
impl Unpin for ErrorKind[src]
impl UnwindSafe for ErrorKind[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,