pub struct ByteSerializer { /* private fields */ }Expand description
A Serializer for Vec
ⓘ
fn parse(data: &[u8]) -> bool {
// ...
}
let mutator = VecMutator<U8Mutator>::default();
// pass the desired extension of the file as argument
let serializer = ByteSerializer::new("png");
fuzzcheck::launch(parse, mutator, serializer)Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ByteSerializer
impl RefUnwindSafe for ByteSerializer
impl Send for ByteSerializer
impl Sync for ByteSerializer
impl Unpin for ByteSerializer
impl UnwindSafe for ByteSerializer
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