pub enum AssembleError {
Syntax {
line: usize,
message: String,
},
Abi {
declared: u32,
encoded: u32,
},
Verify(VerifyError),
}Expand description
Why a text listing could not become a verified Chunk.
Variants§
Trait Implementations§
Source§impl Debug for AssembleError
impl Debug for AssembleError
Source§impl Display for AssembleError
impl Display for AssembleError
Source§impl Error for AssembleError
impl Error for AssembleError
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<VerifyError> for AssembleError
impl From<VerifyError> for AssembleError
Source§fn from(err: VerifyError) -> Self
fn from(err: VerifyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AssembleError
impl RefUnwindSafe for AssembleError
impl Send for AssembleError
impl Sync for AssembleError
impl Unpin for AssembleError
impl UnsafeUnpin for AssembleError
impl UnwindSafe for AssembleError
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