Enum hedwig::validators::prost::ProstDecodeError [−][src]
pub enum ProstDecodeError<E: Error + 'static> {
InvalidSchema(E),
Decode(DecodeError),
}
This is supported on crate feature
prost
only.Expand description
Errors that may occur when decoding ProtoBuf messages.
Variants
The message’s schema did not match the decoded message type
Decode(DecodeError)
The message failed to decode from protobuf
Tuple Fields of Decode
0: DecodeError
Trait Implementations
Performs the conversion.
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<E> RefUnwindSafe for ProstDecodeError<E> where
E: RefUnwindSafe,
impl<E> Send for ProstDecodeError<E> where
E: Send,
impl<E> Sync for ProstDecodeError<E> where
E: Sync,
impl<E> Unpin for ProstDecodeError<E> where
E: Unpin,
impl<E> UnwindSafe for ProstDecodeError<E> where
E: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
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