pub enum InputConversionError {
LegacyContent(Error),
ProductMode(String),
ProductCommand(String),
}Expand description
Failure converting legacy durable input into canonical model content.
Variants§
LegacyContent(Error)
Previous content-part escape hatch contains invalid content JSON.
ProductMode(String)
Product mode must be handled before runtime input conversion.
ProductCommand(String)
Product command must be handled before runtime input conversion.
Trait Implementations§
Source§impl Debug for InputConversionError
impl Debug for InputConversionError
Source§impl Display for InputConversionError
impl Display for InputConversionError
Source§impl Error for InputConversionError
impl Error for InputConversionError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for InputConversionError
impl !UnwindSafe for InputConversionError
impl Freeze for InputConversionError
impl Send for InputConversionError
impl Sync for InputConversionError
impl Unpin for InputConversionError
impl UnsafeUnpin for InputConversionError
Blanket Implementations§
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