Enum matrix_sdk::RumaApiError
source · [−]pub enum RumaApiError {
ClientApi(Error),
Other(MatrixError),
}Expand description
An error response from a Matrix API call, using a client API specific representation if the endpoint is from that.
Variants
ClientApi(Error)
A client API response error.
Other(MatrixError)
Another API response error.
Trait Implementations
sourceimpl Debug for RumaApiError
impl Debug for RumaApiError
sourceimpl Display for RumaApiError
impl Display for RumaApiError
sourceimpl Error for RumaApiError
impl Error for RumaApiError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations
impl RefUnwindSafe for RumaApiError
impl Send for RumaApiError
impl Sync for RumaApiError
impl Unpin for RumaApiError
impl UnwindSafe for RumaApiError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more