pub struct TargetImportError {
pub cause: TargetCellImportError,
/* private fields */
}
Fields§
§cause: TargetCellImportError
Implementations§
Source§impl TargetImportError
impl TargetImportError
pub fn new( cell_ref: CellRef<'_>, cause: TargetCellImportError, ) -> TargetImportError
pub fn unknown_parameter( cell_ref: CellRef<'_>, name: impl Into<String>, ) -> TargetImportError
pub fn parameter_type_mismatch( cell_ref: CellRef<'_>, name: impl Into<String>, ) -> TargetImportError
pub fn parameter_value_invalid( cell_ref: CellRef<'_>, name: impl Into<String>, value: ParamValue, ) -> TargetImportError
pub fn unknown_input( cell_ref: CellRef<'_>, name: impl Into<String>, ) -> TargetImportError
pub fn input_size_mismatch( cell_ref: CellRef<'_>, name: impl Into<String>, ) -> TargetImportError
pub fn unknown_output( cell_ref: CellRef<'_>, name: impl Into<String>, ) -> TargetImportError
pub fn output_size_mismatch( cell_ref: CellRef<'_>, name: impl Into<String>, ) -> TargetImportError
pub fn unknown_io( cell_ref: CellRef<'_>, name: impl Into<String>, ) -> TargetImportError
pub fn io_size_mismatch( cell_ref: CellRef<'_>, name: impl Into<String>, ) -> TargetImportError
Trait Implementations§
Source§impl Clone for TargetImportError
impl Clone for TargetImportError
Source§fn clone(&self) -> TargetImportError
fn clone(&self) -> TargetImportError
Returns a copy 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 TargetImportError
impl Debug for TargetImportError
Source§impl Display for TargetImportError
impl Display for TargetImportError
Source§impl Error for TargetImportError
impl Error for TargetImportError
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 Freeze for TargetImportError
impl RefUnwindSafe for TargetImportError
impl Send for TargetImportError
impl Sync for TargetImportError
impl Unpin for TargetImportError
impl UnwindSafe for TargetImportError
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