#[non_exhaustive]pub enum LinkPatchError {
Link(LinkError),
Assemble(AssembleError),
}Expand description
Errors produced by Linker::patch_writer.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Link(LinkError)
Linker resolution failed.
Assemble(AssembleError)
Code patch failed while writing instruction words.
Trait Implementations§
Source§impl Clone for LinkPatchError
impl Clone for LinkPatchError
Source§fn clone(&self) -> LinkPatchError
fn clone(&self) -> LinkPatchError
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 LinkPatchError
impl Debug for LinkPatchError
Source§impl Display for LinkPatchError
impl Display for LinkPatchError
Source§impl From<AssembleError> for LinkPatchError
impl From<AssembleError> for LinkPatchError
Source§fn from(value: AssembleError) -> Self
fn from(value: AssembleError) -> Self
Converts to this type from the input type.
Source§impl From<LinkError> for LinkPatchError
impl From<LinkError> for LinkPatchError
Source§impl PartialEq for LinkPatchError
impl PartialEq for LinkPatchError
impl Eq for LinkPatchError
impl StructuralPartialEq for LinkPatchError
Auto Trait Implementations§
impl Freeze for LinkPatchError
impl RefUnwindSafe for LinkPatchError
impl Send for LinkPatchError
impl Sync for LinkPatchError
impl Unpin for LinkPatchError
impl UnsafeUnpin for LinkPatchError
impl UnwindSafe for LinkPatchError
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