Enum cloudevents::event::EventBuilderError [−][src]
pub enum EventBuilderError {
MissingRequiredAttribute {
attribute_name: &'static str,
},
ParseTimeError {
attribute_name: &'static str,
source: ParseError,
},
ParseUrlError {
attribute_name: &'static str,
source: ParseError,
},
InvalidUriRefError {
attribute_name: &'static str,
},
}Expand description
Represents an error during build process
Variants
Show fields
Fields of MissingRequiredAttribute
attribute_name: &'static strShow fields
Fields of ParseTimeError
attribute_name: &'static strsource: ParseErrorShow fields
Fields of ParseUrlError
attribute_name: &'static strsource: ParseErrorShow fields
Fields of InvalidUriRefError
attribute_name: &'static strTrait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Auto Trait Implementations
impl RefUnwindSafe for Errorimpl UnwindSafe for ErrorBlanket Implementations
For maximum effectiveness, this needs to be called as a method to benefit from Rust’s automatic dereferencing of method receivers. Read more
Mutably borrows from an owned value. Read more