Struct bitcoin_fuzz::FuzzedFileProvider
source · pub struct FuzzedFileProvider { /* private fields */ }Expand description
Implementations§
source§impl FuzzedFileProvider
impl FuzzedFileProvider
pub fn new(fuzzed_data_provider: &mut FuzzedDataProvider) -> Self
source§impl FuzzedFileProvider
impl FuzzedFileProvider
pub fn open(&mut self) -> *mut FILE
pub fn read(&mut self, cookie: *mut c_void, buf: *mut u8, size: usize) -> isize
pub fn write( &mut self, cookie: *mut c_void, buf: *const u8, size: usize ) -> isize
pub fn seek( &mut self, cookie: *mut c_void, offset: *mut i64, whence: i32 ) -> i32
pub fn close(&mut self, cookie: *mut c_void) -> i32
Auto Trait Implementations§
impl !RefUnwindSafe for FuzzedFileProvider
impl !Send for FuzzedFileProvider
impl !Sync for FuzzedFileProvider
impl Unpin for FuzzedFileProvider
impl !UnwindSafe for FuzzedFileProvider
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more