pub enum SplitError {
BadFileName,
NotAFunction,
MissingTypeSection,
MissingFunctionSection,
MissingCodeSection,
MissingExportSection,
MissingElementsSection,
TooManyTables,
NoTypeWithIndex(u32),
NoFunctionWithIndex(u32),
NoFunctionWithName(String),
}
Variants§
BadFileName
NotAFunction
MissingTypeSection
MissingFunctionSection
MissingCodeSection
MissingExportSection
MissingElementsSection
TooManyTables
NoTypeWithIndex(u32)
NoFunctionWithIndex(u32)
NoFunctionWithName(String)
Trait Implementations§
Source§impl Clone for SplitError
impl Clone for SplitError
Source§fn clone(&self) -> SplitError
fn clone(&self) -> SplitError
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 SplitError
impl Debug for SplitError
Auto Trait Implementations§
impl Freeze for SplitError
impl RefUnwindSafe for SplitError
impl Send for SplitError
impl Sync for SplitError
impl Unpin for SplitError
impl UnwindSafe for SplitError
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