pub enum Input {
File(PathBuf),
Buffer(Vec<u8>),
}
Expand description
Input configuration.
Variants§
File(PathBuf)
The input .wasm
file that should have its function snipped.
Buffer(Vec<u8>)
The input WebAssembly blob that should have its function snipped.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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