Struct cloudevents::event::UnknownSpecVersion
source · pub struct UnknownSpecVersion { /* private fields */ }
Expand description
Error representing an unknown SpecVersion
string identifier
Trait Implementations§
source§impl Debug for UnknownSpecVersion
impl Debug for UnknownSpecVersion
source§impl Display for UnknownSpecVersion
impl Display for UnknownSpecVersion
source§impl Error for UnknownSpecVersion
impl Error for UnknownSpecVersion
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<UnknownSpecVersion> for Error
impl From<UnknownSpecVersion> for Error
source§fn from(error: UnknownSpecVersion) -> Self
fn from(error: UnknownSpecVersion) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UnknownSpecVersion
impl RefUnwindSafe for UnknownSpecVersion
impl Send for UnknownSpecVersion
impl Sync for UnknownSpecVersion
impl Unpin for UnknownSpecVersion
impl UnwindSafe for UnknownSpecVersion
Blanket Implementations§
source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more