pub struct ExtensionLoweringError { /* private fields */ }Expand description
Error returned when an extension cannot expand itself into standard ops.
§Examples
use tenferro_ops::ext_op::ExtensionLoweringError;
let err = ExtensionLoweringError::new("example extension cannot lower");
assert!(err.to_string().contains("cannot lower"));Implementations§
Trait Implementations§
Source§impl Clone for ExtensionLoweringError
impl Clone for ExtensionLoweringError
Source§fn clone(&self) -> ExtensionLoweringError
fn clone(&self) -> ExtensionLoweringError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtensionLoweringError
impl Debug for ExtensionLoweringError
Source§impl Display for ExtensionLoweringError
impl Display for ExtensionLoweringError
Source§impl Error for ExtensionLoweringError
impl Error for ExtensionLoweringError
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 PartialEq for ExtensionLoweringError
impl PartialEq for ExtensionLoweringError
impl Eq for ExtensionLoweringError
impl StructuralPartialEq for ExtensionLoweringError
Auto Trait Implementations§
impl Freeze for ExtensionLoweringError
impl RefUnwindSafe for ExtensionLoweringError
impl Send for ExtensionLoweringError
impl Sync for ExtensionLoweringError
impl Unpin for ExtensionLoweringError
impl UnsafeUnpin for ExtensionLoweringError
impl UnwindSafe for ExtensionLoweringError
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