Struct poem_openapi::types::ParseError
source · [−]pub struct ParseError<T> { /* private fields */ }
Expand description
An error parsing an schema.
This type is generic over T as it uses T’s type name when converting to a regular error.
Implementations
The expected input type did not match the actual input type.
Type A expects an input value.
A custom error message.
Any type that implements Display
is automatically converted to this if
you use the ?
operator.
Propagate the error message to a different type.
Consume this error and convert it into a message.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for ParseError<T> where
T: RefUnwindSafe,
impl<T> Send for ParseError<T> where
T: Send,
impl<T> Sync for ParseError<T> where
T: Sync,
impl<T> Unpin for ParseError<T> where
T: Unpin,
impl<T> UnwindSafe for ParseError<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
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