Enum ruma::serde::CanonicalJsonError [−][src]
pub enum CanonicalJsonError { IntConvert, JsonSize, SerDe(Error), }
Expand description
The set of possible errors when serializing to canonical JSON.
Variants
The numeric value failed conversion to js_int::Int.
The CanonicalJsonValue
being serialized was larger than 65,535 bytes.
SerDe(Error)
An error occurred while serializing/deserializing.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more