Struct ruma::events::InvalidInput [−][src]
pub struct InvalidInput(_);
events
only.Expand description
An error returned when attempting to create an event with data that would make it invalid.
This type is similar to InvalidEvent
, but used during the
construction of a new event, as opposed to deserialization of an existing event from JSON.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InvalidInput
impl Send for InvalidInput
impl Sync for InvalidInput
impl Unpin for InvalidInput
impl UnwindSafe for InvalidInput
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