pub enum ResidualBlockBuildingError {
MissingCost,
MissingParameters,
ParameterBlockStorageError(ParameterBlockStorageError),
}
Variants§
Trait Implementations§
Source§impl Debug for ResidualBlockBuildingError
impl Debug for ResidualBlockBuildingError
Source§impl Display for ResidualBlockBuildingError
impl Display for ResidualBlockBuildingError
Source§impl Error for ResidualBlockBuildingError
impl Error for ResidualBlockBuildingError
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<ParameterBlockStorageError> for ResidualBlockBuildingError
impl From<ParameterBlockStorageError> for ResidualBlockBuildingError
Source§fn from(source: ParameterBlockStorageError) -> Self
fn from(source: ParameterBlockStorageError) -> Self
Converts to this type from the input type.
Source§impl From<ResidualBlockBuildingError> for Error
impl From<ResidualBlockBuildingError> for Error
Source§fn from(source: ResidualBlockBuildingError) -> Self
fn from(source: ResidualBlockBuildingError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResidualBlockBuildingError
impl RefUnwindSafe for ResidualBlockBuildingError
impl Send for ResidualBlockBuildingError
impl Sync for ResidualBlockBuildingError
impl Unpin for ResidualBlockBuildingError
impl UnwindSafe for ResidualBlockBuildingError
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