pub enum ResultCoercionError {
BadCoreTypeCoercion(String, CelType, CelType),
BadExternalTypeCoercion(String, CelType, &'static str),
ExternalTypeCoercionError(String, String, &'static str, String),
}
Variants§
BadCoreTypeCoercion(String, CelType, CelType)
BadExternalTypeCoercion(String, CelType, &'static str)
ExternalTypeCoercionError(String, String, &'static str, String)
Trait Implementations§
Source§impl Debug for ResultCoercionError
impl Debug for ResultCoercionError
Source§impl Display for ResultCoercionError
impl Display for ResultCoercionError
Source§impl Error for ResultCoercionError
impl Error for ResultCoercionError
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<ResultCoercionError> for CelError
impl From<ResultCoercionError> for CelError
Source§fn from(source: ResultCoercionError) -> Self
fn from(source: ResultCoercionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResultCoercionError
impl RefUnwindSafe for ResultCoercionError
impl Send for ResultCoercionError
impl Sync for ResultCoercionError
impl Unpin for ResultCoercionError
impl UnwindSafe for ResultCoercionError
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