Enum ruma_state_res::Error [−][src]
pub enum Error { SerdeJson(JsonError), Unsupported(String), NotFound(String), InvalidPdu(String), Custom(Box<dyn Error>), }
Expand description
Represents the various errors that arise when resolving state.
Variants
SerdeJson(JsonError)
A deserialization error.
Unsupported(String)
The given option or version is unsupported.
NotFound(String)
The given event was not found.
InvalidPdu(String)
Invalid fields in the given PDU.
A custom error.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error